Skip to content
OpenAdvisories
Unscored CVE-2009-4034 EUVD-2009-4005GHSA-6wgc-gv8j-fmpq

PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 d…

Published Dec 15, 2009 · Updated Aug 7, 2024 · Assigned by redhat

Description

PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which (1) allows man-in-the-middle attackers to spoof arbitrary SSL-based PostgreSQL servers via a crafted server certificate issued by a legitimate Certification Authority, and (2) allows remote attackers to bypass intended client-hostname restrictions via a crafted client certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 postgresql-8.3 8.3.9-0lenny1 DSA-1964-1
Debian 4.0 postgresql-7.4 1:7.4.27-0etch1 DSA-1964-1
Debian 4.0 postgresql-8.1 8.1.19-0etch1 DSA-1964-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed postgresql93 9.3.15-1.1 openSUSE-SU-2024:10256-1
openSUSE Tumbleweed postgresql94 9.4.10-1.1 openSUSE-SU-2024:10030-1
openSUSE Tumbleweed postgresql95 9.5.4-1.2 openSUSE-SU-2024:10273-1

Advisories 4

References