Description
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
servers/slapd/back-mdb/search.c in OpenLDAP through 2.4.44 is prone to a double free vulnerability. A user with access to search the directory can crash slapd by issuing a search including the Paged Results control with a page size of 0.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| debian | debian linux | 8.0 | – |
| mcafee | policy auditor | < 6.5.1 | – |
| openldap | openldap | <= 2.4.44 | – |
| oracle | blockchain platform | < 21.1.2 | – |
| redhat | enterprise linux desktop | 7.0 | – |
| redhat | enterprise linux eus | 7.4 | – |
| redhat | enterprise linux eus | 7.5 | – |
| redhat | enterprise linux eus | 7.6 | – |
| redhat | enterprise linux eus | 7.7 | – |
| redhat | enterprise linux server | 7.0 | – |
| redhat | enterprise linux server aus | 7.4 | – |
| redhat | enterprise linux server aus | 7.6 | – |
| redhat | enterprise linux server aus | 7.7 | – |
| redhat | enterprise linux server tus | 7.6 | – |
| redhat | enterprise linux server tus | 7.7 | – |
| redhat | enterprise linux workstation | 7.0 | – |
CWE-415 Double Free
The product calls free() twice on the same memory address.
| Scope | Impact |
|---|---|
| Integrity, Confidentiality, Availability | Modify Memory, Execute Unauthorized Code or Commands When a program calls free() twice with the same argument, the program's memory management data structures may become corrupted, potentially leading to the reading or modification of unexpected memory addresses. This corruption can cause the program to crash or, in some circumstances, cause two later calls to malloc() to return the same pointer. If malloc() returns the same value twice and the program later gives the attacker control over the data that is written into this doubly-allocated memory, the program becomes vulnerable to a buffer overflow attack. Doubly freeing memory may result in a write-what-where condition, allowing an attacker to execute arbitrary code. |
All 968 CWE-415 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org