Access Restriction Bypass Affecting 389-ds-base-libs package, versions <0:1.3.0.6-1.3.amzn1


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.58% (79th 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-AMZN201803-389DSBASELIBS-1667643
  • published27 Sept 2021
  • disclosed13 May 2013

Introduced: 13 May 2013

CVE-2013-1897  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 389-ds-base-libs to version 0:1.3.0.6-1.3.amzn1 or higher.
This issue was patched in ALAS-2013-184.

NVD Description

Note: Versions mentioned in the description apply only to the upstream 389-ds-base-libs package and not the 389-ds-base-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The do_search function in ldap/servers/slapd/search.c in 389 Directory Server 1.2.x before 1.2.11.20 and 1.3.x before 1.3.0.5 does not properly restrict access to entries when the nsslapd-allow-anonymous-access configuration is set to rootdse and the BASE search scope is used, which allows remote attackers to obtain sensitive information outside of the rootDSE via a crafted LDAP search.

CVSS Scores

version 3.1