Unchecked Return Value Affecting openldap package, versions <0:2.3.43-12.el5_5.1


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
67.78% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE5-OPENLDAP-2454402
  • published10 Apr 2022
  • disclosed28 Jul 2010

Introduced: 28 Jul 2010

CVE-2010-0211  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Oracle:5 openldap to version 0:2.3.43-12.el5_5.1 or higher.
This issue was patched in ELSA-2010-0542.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openldap package and not the openldap package as distributed by Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

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.

CVSS Scores

version 3.1