postgresql: MITM due improper x509_v3 CN validation during certificate verification
Published Jul 18, 2012
4.3
MEDIUMCVSS 2.0
EPSS 2.34%
Description
PostgreSQL 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 truncates the common name to only 32 characters when verifying SSL certificates, which allows remote attackers to spoof connections when the host name is exactly 32 characters.
Affected products
No data.
Configuration 1
- 12.2
Configuration 2
- 8.4
- 8.4.1
- 8.4.2
- 8.4.3
- 8.4.4
- 8.4.5
- 8.4.6
- 8.4.7
- 8.4.8
- 8.4.9
- 8.4.10
Configuration 3
- 9.0
- 9.0.1
- 9.0.2
- 9.0.3
- 9.0.4
- 9.0.5
- 9.0.6
Configuration 4
- 6.0
Configuration 5
- 5
- 5.0
- 5.0
- 6.0
- 6.0
- 6.0
- 6.2
- 6.2.z
- 6.0
Configuration 6
- 9.1
- 9.1.1
- 9.1.2
No data.
Red Hat Enterprise Linux 5
postgresql84-0:8.4.11-1.el5_8
Fixed · RHSA-2012:0678
Red Hat Enterprise Linux 6
postgresql-0:8.4.11-1.el6_2
Fixed · RHSA-2012:0678
Red Hat Enterprise Linux 4
postgresql
Will not fix
Red Hat Enterprise Linux 5
postgresql
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | postgresql84-0:8.4.11-1.el5_8 | Fixed | RHSA-2012:0678 |
| Red Hat Enterprise Linux 6 | postgresql-0:8.4.11-1.el6_2 | Fixed | RHSA-2012:0678 |
| Red Hat Enterprise Linux 4 | postgresql | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.34% (0.02336) | 82.97th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.34% (0.02336) | 81.31th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.37% (0.01370) | 78.45th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.56% (0.02565) | 75.84th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.37% (0.01370) | 78.91th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.48% (0.00478) | 76.61th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.48% (0.00478) | 75.08th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.48% (0.00478) | 72.03th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.97% (0.01974) | 78.97th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.97% (0.01974) | 78.46th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.54% (0.01537) | 73.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.97% (0.01974) | 77.12th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.97% (0.01974) | 56.20th | v2 (v2022.01.01) |
References (13)
- http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2012-0678.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/49273 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2012/dsa-2418 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:026 vendor-advisoryx_refsource_MANDRIVABroken Link
- http://www.postgresql.org/about/news/1377/ x_refsource_CONFIRMVendor Advisory
- http://www.postgresql.org/docs/8.4/static/release-8-4-11.html x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.postgresql.org/docs/9.0/static/release-9-0-7.html x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.postgresql.org/docs/9.1/static/release-9-1-3.html x_refsource_CONFIRMRelease NotesVendor Advisory
- https://access.redhat.com/security/cve/CVE-2012-0867 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=797915 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2012-0867
- https://www.cve.org/CVERecord?id=CVE-2012-0867
Change history (0)
No recorded changes yet.