CVEvulnerability

CVE-2012-0867

4.3 MEDIUM Published 2012-07-18 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-07-18
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
CWE-20, CWE-295

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 configurations

• opensuse project opensuse 12.2 • postgresql postgresql 8.4 • postgresql postgresql 8.4.1 • postgresql postgresql 8.4.2 • postgresql postgresql 8.4.3 • postgresql postgresql 8.4.4 • postgresql postgresql 8.4.5 • postgresql postgresql 8.4.6 • postgresql postgresql 8.4.7 • postgresql postgresql 8.4.8 • postgresql postgresql 8.4.9 • postgresql postgresql 8.4.10 • postgresql postgresql 9.0 • postgresql postgresql 9.0.1 • postgresql postgresql 9.0.2 • postgresql postgresql 9.0.3 • postgresql postgresql 9.0.4 • postgresql postgresql 9.0.5 • postgresql postgresql 9.0.6 • debian debian linux 6.0 • redhat desktop workstation 5 • redhat enterprise linux 5.0 • redhat enterprise linux desktop 5.0 • redhat enterprise linux desktop 6.0 • redhat enterprise linux hpc node 6.0 • redhat enterprise linux server 6.0 • redhat enterprise linux server aus 6.2 • redhat enterprise linux server eus 6.2.z • redhat enterprise linux workstation 6.0 • postgresql postgresql 9.1 • postgresql postgresql 9.1.1 • postgresql postgresql 9.1.2

Related

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-295 Improper Certificate Validation weakness

Referenced by CWE · observed example (1)

  • CWE-297 Improper Validation of Certificate with Host Mismatch weakness

References