Vulnerabilities · 2012 · Postgresql
CVE-2012-2143
Postgresql vulnerability
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.
Affected products
Postgresql, Freebsd, Php, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postgresql runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.postgresql.org/gitweb/?p=postgresql.git&a=commit&h=932ded2ed51e8333852e370c7a6dad75d9f · Vendor Advisory
- secunia.com/advisories/49304 · Vendor Advisory
- secunia.com/advisories/50718 · Vendor Advisory
- security.freebsd.org/advisories/FreeBSD-SA-12:02.crypt.asc · Vendor Advisory
- www.postgresql.org/docs/8.3/static/release-8-3-19.html · Vendor Advisory
- www.postgresql.org/docs/8.4/static/release-8-4-12.html · Vendor Advisory
- www.postgresql.org/docs/9.0/static/release-9-0-8.html · Vendor Advisory
- www.postgresql.org/docs/9.1/static/release-9-1-4.html · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2012-2143
- cve.org/CVERecord?id=CVE-2012-2143
More vulnerabilities in Postgresql products
CVE-2025-49146CVE-2024-10979CVE-2024-10978CVE-2024-10977CVE-2024-10976CVE-2024-7348CVE-2024-4317CVE-2024-1597All 168
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.