The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4...
Moderate severity
Unreviewed
Published
May 2, 2022
to the GitHub Advisory Database
•
Updated Jan 21, 2024
Description
Published by the National Vulnerability Database
Jul 28, 2010
Published to the GitHub Advisory Database
May 2, 2022
Last updated
Jan 21, 2024
The slap_modrdn2mods function in modrdn.c in OpenLDAP 2.4.22 does not check the return value of a call to the smr_normalize function, which allows remote attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a modrdn call with an RDN string containing invalid UTF-8 sequences, which triggers a free of an invalid, uninitialized pointer in the slap_mods_free function, as demonstrated using the Codenomicon LDAPv3 test suite.
References