A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsing in decode.c ber_next_element, resulting in denial of service.
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Openldap | Openldap | * | 2.4.57 (excluding) |
Openldap | Ubuntu | bionic | * |
Openldap | Ubuntu | devel | * |
Openldap | Ubuntu | esm-infra-legacy/trusty | * |
Openldap | Ubuntu | focal | * |
Openldap | Ubuntu | groovy | * |
Openldap | Ubuntu | hirsute | * |
Openldap | Ubuntu | impish | * |
Openldap | Ubuntu | jammy | * |
Openldap | Ubuntu | kinetic | * |
Openldap | Ubuntu | lunar | * |
Openldap | Ubuntu | mantic | * |
Openldap | Ubuntu | noble | * |
Openldap | Ubuntu | oracular | * |
Openldap | Ubuntu | precise/esm | * |
Openldap | Ubuntu | trusty | * |
Openldap | Ubuntu | trusty/esm | * |
Openldap | Ubuntu | upstream | * |
Openldap | Ubuntu | xenial | * |
While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, it can still lead to a denial of service. For example, if a server handles multiple simultaneous connections, and an assert() occurs in one single connection that causes all other connections to be dropped, this is a reachable assertion that leads to a denial of service.