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 SS
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.
- Published
- Jul 18, 2012
- Updated
- Jun 16, 2026
- EPSS
- 2.3% · 83th percentile
- CWE
- CWE-20
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
18
Monitor
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| postgresql | postgresql | cpe:2.3:a:postgresql:postgresql |
| opensuse project | opensuse | cpe:2.3:o:opensuse_project:opensuse |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | desktop workstation | cpe:2.3:o:redhat:desktop_workstation |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux hpc node | cpe:2.3:o:redhat:enterprise_linux_hpc_node |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- postgresql postgresql8.4
- postgresql postgresql8.4.1
- postgresql postgresql8.4.10
- postgresql postgresql8.4.2
- postgresql postgresql8.4.3
- postgresql postgresql8.4.4
- postgresql postgresql8.4.5
- postgresql postgresql8.4.6
- postgresql postgresql8.4.7
- postgresql postgresql8.4.8
- postgresql postgresql8.4.9
- postgresql postgresql9.0
- postgresql postgresql9.0.1
- postgresql postgresql9.0.2
- postgresql postgresql9.0.3
- postgresql postgresql9.0.4
- postgresql postgresql9.0.5
- postgresql postgresql9.0.6
- postgresql postgresql9.1
- postgresql postgresql9.1.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:6.0 | postgresql-8.4 | before 8.4.11-0squeeze1 | 8.4.11-0squeeze1 |
| openSUSE:Tumbleweed | postgresql93 | before 9.3.15-1.1 | 9.3.15-1.1 |
| openSUSE:Tumbleweed | postgresql94 | before 9.4.10-1.1 | 9.4.10-1.1 |
| openSUSE:Tumbleweed | postgresql95 | before 9.5.4-1.2 | 9.5.4-1.2 |
| Red Hat:enterprise_linux:5::client | postgresql84 | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client | postgresql84-contrib | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client | postgresql84-debuginfo | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client | postgresql84-docs | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client | postgresql84-libs | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client | postgresql84-python | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client | postgresql84-tcl | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | postgresql84-devel | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | postgresql84-plperl | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | postgresql84-plpython | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | postgresql84-pltcl | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | postgresql84-server | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | postgresql84-test | before 0:8.4.11-1.el5_8 | 0:8.4.11-1.el5_8 |
| Red Hat:enterprise_linux:6::client | postgresql | before 0:8.4.11-1.el6_2 | 0:8.4.11-1.el6_2 |
| Red Hat:enterprise_linux:6::client | postgresql-contrib | before 0:8.4.11-1.el6_2 | 0:8.4.11-1.el6_2 |
| Red Hat:enterprise_linux:6::client | postgresql-debuginfo | before 0:8.4.11-1.el6_2 | 0:8.4.11-1.el6_2 |
| Red Hat:enterprise_linux:6::client | postgresql-devel | before 0:8.4.11-1.el6_2 | 0:8.4.11-1.el6_2 |
| Red Hat:enterprise_linux:6::client | postgresql-docs | before 0:8.4.11-1.el6_2 | 0:8.4.11-1.el6_2 |
| Red Hat:enterprise_linux:6::client | postgresql-libs | before 0:8.4.11-1.el6_2 | 0:8.4.11-1.el6_2 |
| Red Hat:enterprise_linux:6::client | postgresql-plperl | before 0:8.4.11-1.el6_2 | 0:8.4.11-1.el6_2 |
+4
Same product
postgresql: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers57Plan
- CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to 55Plan
- CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.49Plan
- CVE-2007-3280The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements that map to arbitrary libraries based on the44Plan
- CVE-2013-1899Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to ca42Plan
- CVE-2018-16850postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ...41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:postgresql-8.4 | 8.4.11-0squeeze1 · Debian:6.0 | Package registry (OSV) |
| opensuse:postgresql93 | 9.3.15-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:postgresql94 | 9.4.10-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:postgresql95 | 9.5.4-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:postgresql84 | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:postgresql84-contrib | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:postgresql84-debuginfo | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:postgresql84-devel | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:postgresql84-docs | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:postgresql84-libs | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:postgresql84-plperl | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:postgresql84-plpython | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:postgresql84-pltcl | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:postgresql84-python | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:postgresql84-server | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:postgresql84-tcl | 0:8.4.11-1.el5_8 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-updates/2012-09/msg00060.html
- rhn.redhat.com/errata/RHSA-2012-0678.html
- secunia.com/advisories/49273
- www.debian.org/security/2012/dsa-2418
- www.mandriva.com/security/advisories?name=MDVSA-2012:026
- www.postgresql.org/about/news/1377/
- www.postgresql.org/docs/8.4/static/release-8-4-11.html
- www.postgresql.org/docs/9.0/static/release-9-0-7.html
- www.postgresql.org/docs/9.1/static/release-9-1-3.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.