CVE-2012-2143
CVE-2012-2143 is a medium-severity vulnerability in Postgresql with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-310.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 6% (92nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-310
- Affected product: Postgresql
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2012-2143?
- 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.
- How severe is CVE-2012-2143?
- CVE-2012-2143 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2012-2143 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 6% (92nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-2143?
- CVE-2012-2143 primarily affects Postgresql. In total, 62 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-2143?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-2143 published?
- CVE-2012-2143 was published on 2012-07-05 and last updated on 2026-06-16.
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=aab49e934de1fff046e659cbec46e3d053b41c34
- http://git.postgresql.org/gitweb/?p=postgresql.git&a=commit&h=932ded2ed51e8333852e370c7a6dad75d9f236f9
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082258.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082292.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082294.html
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
- http://lists.opensuse.org/opensuse-updates/2012-09/msg00102.html
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00013.html
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00024.html
- http://rhn.redhat.com/errata/RHSA-2012-1037.html
- http://secunia.com/advisories/49304
- http://secunia.com/advisories/50718
- http://security.freebsd.org/advisories/FreeBSD-SA-12:02.crypt.asc
- http://support.apple.com/kb/HT5501
- http://www.debian.org/security/2012/dsa-2491
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:092
- http://www.postgresql.org/docs/8.3/static/release-8-3-19.html
- http://www.postgresql.org/docs/8.4/static/release-8-4-12.html
- http://www.postgresql.org/docs/9.0/static/release-9-0-8.html
- http://www.postgresql.org/docs/9.1/static/release-9-1-4.html
- http://www.postgresql.org/support/security/
- http://www.securitytracker.com/id?1026995
- https://bugzilla.redhat.com/show_bug.cgi?id=816956
Affected products (62)
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:1.0:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:1.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:1.1.5:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:1.1.5.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.0:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.0.5:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.1.5:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.1.6:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.1.7:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.2:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.2.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.2.2:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.2.5:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.2.6:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.2.7:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:2.2.8:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:3.0:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:3.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:3.2:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:3.3:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:3.4:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:3.5:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.0:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.1.1:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.2:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.3:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.4:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.5:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.6:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.6.2:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.7:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.8:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.9:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.10:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:4.11:*:*:*:*:*:*:*
- cpe:2.3:o:freebsd:freebsd:5.0:*:*:*:*:*:*:*
More vulnerabilities in Postgresql
- CVE-2013-1903 — Critical (CVSS 10.0): PostgreSQL, possibly 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, 8.4.x before 8.4.17, and 8.3.x before…
- CVE-2013-1902 — Critical (CVSS 10.0): PostgreSQL, 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, 8.4.x before 8.4.17, and 8.3.x before 8.3.23…
- CVE-2007-3279 — Critical (CVSS 10.0): PostgreSQL 8.1 and probably later versions, when the PL/pgSQL (plpgsql) language has been created, grants certain…
- CVE-2002-1399 — Critical (CVSS 10.0): Unknown vulnerability in cash_out and possibly other functions in PostgreSQL 7.2.1 and earlier, and possibly later…
- CVE-2015-0244 — Critical (CVSS 9.8): PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not…
- CVE-2015-3166 — Critical (CVSS 9.8): The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7,…
All CVEs affecting Postgresql →
Other CWE-310 (Cryptographic Issues) vulnerabilities
- CVE-2014-7878 — Critical (CVSS 10.0): The Application Lifecycle Service (ALS) in HP Helion Cloud Development Platform 1.0, when a virtual machine is derived…
- CVE-2013-3712 — Critical (CVSS 10.0): SUSE Studio Onsite 1.3.x before 1.3.6 and SUSE Studio Extension for System z 1.3 uses "static" secret tokens, which has…
- CVE-2013-6952 — Critical (CVSS 10.0): The Belkin WeMo Home Automation firmware before 3949 has a hardcoded GPG key, which makes it easier for remote…
- CVE-2013-6838 — Critical (CVSS 10.0): An unspecified Enghouse Interactive Professional Services "addon product" in Enghouse Interactive IVR Pro (VIP2000)…
- CVE-2013-0137 — Critical (CVSS 10.0): The default configuration of the Digital Alert Systems DASDEC EAS device before 2.0-2 and the Monroe Electronics R189…
- CVE-2011-5123 — Critical (CVSS 10.0): The Antivirus component in Comodo Internet Security before 5.3.175888.1227 does not check whether X.509 certificates in…
Browse all CWE-310 (Cryptographic Issues) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 221.161.235.168 (ipv4-addr)
- 187.141.71.166 (ipv4-addr)
- 103.20.122.54 (ipv4-addr)
- 82.199.197.245 (ipv4-addr)
- 58.221.244.34 (ipv4-addr)
- 222.99.52.202 (ipv4-addr)
- 220.88.220.59 (ipv4-addr)
- 211.253.10.61 (ipv4-addr)