cve.bz

CVE-2012-2143 Cryptographic Issues

no score yetEPSS 5.7%Fix available

No CVSS score yet. EPSS 5.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
5.7% (unchanged from 5.7% a week ago; 5.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-310 Cryptographic Issues
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-2143 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-2143?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-2143?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-2143 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresqlfrom 8.3 before 8.3.19
postgresql:postgresqlfrom 8.4 before 8.4.12
postgresql:postgresqlfrom 9.0 before 9.0.8
postgresql:postgresqlfrom 9.1 before 9.1.4
freebsd:freebsdthrough 9.0
freebsd:freebsd1.0
freebsd:freebsd1.1
freebsd:freebsd1.1.5
freebsd:freebsd1.1.5.1
freebsd:freebsd2.0
freebsd:freebsd2.0.5
freebsd:freebsd2.1
freebsd:freebsd2.1.5
freebsd:freebsd2.1.6
freebsd:freebsd2.1.7
freebsd:freebsd2.2
freebsd:freebsd2.2.1
freebsd:freebsd2.2.2
freebsd:freebsd2.2.5
freebsd:freebsd2.2.6
freebsd:freebsd2.2.7
freebsd:freebsd2.2.8
freebsd:freebsd3.0
freebsd:freebsd3.1
freebsd:freebsd3.2
freebsd:freebsd3.3
freebsd:freebsd3.4
freebsd:freebsd3.5
freebsd:freebsd4.0
freebsd:freebsd4.1
freebsd:freebsd4.1.1
freebsd:freebsd4.2
freebsd:freebsd4.3
freebsd:freebsd4.4
freebsd:freebsd4.5
freebsd:freebsd4.6
freebsd:freebsd4.6.2
freebsd:freebsd4.7
freebsd:freebsd4.8
freebsd:freebsd4.9
freebsd:freebsd4.10
freebsd:freebsd4.11
freebsd:freebsd5.0
freebsd:freebsd5.1
freebsd:freebsd5.2
freebsd:freebsd5.2.1
freebsd:freebsd5.3
freebsd:freebsd5.4
freebsd:freebsd5.5
freebsd:freebsd6.0
freebsd:freebsd6.1
freebsd:freebsd6.2
freebsd:freebsd6.3
freebsd:freebsd6.4
freebsd:freebsd7.0
freebsd:freebsd7.1
freebsd:freebsd7.2
freebsd:freebsd7.3
freebsd:freebsd7.4
freebsd:freebsd8.0
freebsd:freebsd8.1
freebsd:freebsd8.2
freebsd:freebsd8.3
php:phpbefore 5.3.14
php:phpfrom 5.4.0 before 5.4.4
debian:debian_linux6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0postgresql-8.48.4.12-0squeeze1DSA-2491-1
Red Hatenterprise_linux:5::clientpostgresql, postgresql-tcl, postgresql-docs and 4 more0:8.1.23-5.el5_8RHSA-2012:1036
Red Hatenterprise_linux:5::clientpostgresql84, postgresql84-tcl, postgresql84-docs and 4 more0:8.4.12-1.el5_8RHSA-2012:1037
Red Hatenterprise_linux:5::client_workstationpostgresql, postgresql-pl, postgresql-test and 3 more0:8.1.23-5.el5_8RHSA-2012:1036
Red Hatenterprise_linux:5::client_workstationpostgresql84, postgresql84-test, postgresql84-devel and 5 more0:8.4.12-1.el5_8RHSA-2012:1037
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverphp53, php53-gd, php53-cli and 19 more0:5.3.3-13.el5_8RHSA-2012:1047
Red Hatenterprise_linux:5::serverpostgresql, postgresql-pl, postgresql-tcl and 8 more0:8.1.23-5.el5_8RHSA-2012:1036
Red Hatenterprise_linux:5::serverpostgresql84, postgresql84-tcl, postgresql84-docs and 10 more0:8.4.12-1.el5_8RHSA-2012:1037
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morephp, php-gd, php-cli and 24 more0:5.3.3-14.el6_3RHSA-2012:1046
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepostgresql, postgresql-docs, postgresql-libs and 8 more0:8.4.12-1.el6_2RHSA-2012:1037
openSUSETumbleweedpostgresql939.3.15-1.1openSUSE-SU-2024:10256-1
openSUSETumbleweedpostgresql949.4.10-1.1openSUSE-SU-2024:10030-1
openSUSETumbleweedpostgresql959.5.4-1.2openSUSE-SU-2024:10273-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the version of php as shipped with Red Hat Enterprise Linux 5 as it did not include FreeSec's libcrypt cryptographic algorithms implementation yet. This issue was addressed in php53 package for Red Hat Enterprise Linux 5 via RHSA-2012:1047 and in php package for Red Hat Enterprise Linux 6 via RHSA-2012:1046.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5postgresql-0:8.1.23-5.el5_8Fixed 2012-06-25RHSA-2012:1036
Red Hat Enterprise Linux 5postgresql84-0:8.4.12-1.el5_8Fixed 2012-06-25RHSA-2012:1037
Red Hat Enterprise Linux 5php53-0:5.3.3-13.el5_8Fixed 2012-06-27RHSA-2012:1047
Red Hat Enterprise Linux 6postgresql-0:8.4.12-1.el6_2Fixed 2012-06-25RHSA-2012:1037
Red Hat Enterprise Linux 6php-0:5.3.3-14.el6_3Fixed 2012-06-27RHSA-2012:1046
Red Hat Enterprise Linux 5phpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-2143.

References

Check your stackJSON