Cryptographic Issues Affecting php-ldap package, versions <0:5.3.14-2.21.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
5.73% (93rd 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-PHPLDAP-1664803
  • published27 Sept 2021
  • disclosed5 Jul 2012

Introduced: 5 Jul 2012

CVE-2012-2143  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php-ldap to version 0:5.3.14-2.21.amzn1 or higher.
This issue was patched in ALAS-2012-95.

NVD Description

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

The crypt_des (aka DES-based crypt) function in FreeBSD before 9.0-RELEASE-p2, as used in PHP, PostgreSQL, and other products, does not process the complete cleartext password if this password contains a 0x80 character, which makes it easier for context-dependent attackers to obtain access via an authentication attempt with an initial substring of the intended password, as demonstrated by a Unicode password.

References

CVSS Base Scores

version 3.1