CVE-2012-3489 json
The xml_parse function in the libxml2 support in the core server component in PostgreSQL 8.3 before 8.3.20, 8.4 before 8.4.13, 9.0 before 9…
published 2012-10-03 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-3445
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
The xml_parse function in the libxml2 support in the core server component in PostgreSQL 8.3 before 8.3.20, 8.4 before 8.4.13, 9.0 before 9.0.9, and 9.1 before 9.1.5 allows remote authenticated users to determine the existence of arbitrary files or URLs, and possibly obtain file or URL content that triggers a parsing error, via an XML value that refers to (1) a DTD or (2) an entity, related to an XML External Entity (aka XXE) issue.
Patch / fix
- postgresql postgresql 8.3.20, 8.4.13, 9.0.9, 9.1.5
- postgresql RHEL 6 8.4.13-1.el6_3
- postgresql84 RHEL 5 8.4.13-1.el5_8
- postgresql-libs RHEL 6 8.4.13-1.el6_3
- postgresql-test RHEL 6 8.4.13-1.el6_3
- postgresql-pltcl RHEL 6 8.4.13-1.el6_3
- postgresql84-tcl RHEL 5 8.4.13-1.el5_8
- postgresql-plperl RHEL 6 8.4.13-1.el6_3
- postgresql-server RHEL 6 8.4.13-1.el6_3
red hat advisories RHSA-2012:1263
- postgresql94 openSUSE Tumbleweed 9.4.10-1.1
- postgresql93 openSUSE Tumbleweed 9.3.15-1.1
- postgresql95 openSUSE Tumbleweed 9.5.4-1.2
opensuse advisories openSUSE-SU-2024:10030-1openSUSE-SU-2024:10256-1openSUSE-SU-2024:10273-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-3489 updated cvss 2.7
postgresql: File disclosure through XXE in xmlparse by DTD validation
-
Red Hat Enterprise Linux (v. 5 server) postgresql84 8.4.13-1.el5_8, postgresql84-tcl 8.4.13-1.el5_8, postgresql84-libs 8.4.13-1.el5_8, postgresql84-test 8.4.13-1.el5_8, postgresql84-pltcl 8.4.13-1.el5_8, postgresql84-plperl 8.4.13-1.el5_8, +4 more Red Hat Enterprise Linux Desktop (v. 5 client) postgresql84 8.4.13-1.el5_8, postgresql84-tcl 8.4.13-1.el5_8, postgresql84-libs 8.4.13-1.el5_8, postgresql84-python 8.4.13-1.el5_8, postgresql84-contrib 8.4.13-1.el5_8 Red Hat Enterprise Linux Desktop (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3 Red Hat Enterprise Linux Desktop Optional (v. 6) postgresql 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, postgresql-contrib 8.4.13-1.el6_3, +1 more Red Hat Enterprise Linux HPC Node (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) postgresql 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, postgresql-contrib 8.4.13-1.el6_3, +1 morefixed: vendor fix RHSA-2012:1263
+3 more productsfewer
Red Hat Enterprise Linux Server (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, +2 more Red Hat Enterprise Linux Workstation (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, +2 more Red Hat RHEL Desktop Workstation (v. 5 client) postgresql84 8.4.13-1.el5_8, postgresql84-test 8.4.13-1.el5_8, postgresql84-pltcl 8.4.13-1.el5_8, postgresql84-plperl 8.4.13-1.el5_8, postgresql84-server 8.4.13-1.el5_8, postgresql84-plpython 8.4.13-1.el5_8 -
Red Hat Enterprise Linux 5 postgresqlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.06% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=849173
issue-tracking, patch, release-notes
-
rhn.redhat.com
/errata/RHSA-2012-1263.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:139
vendor-advisory, broken-link
-
ubuntu.com
/usn/USN-1542-1
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2013/Mar/msg00002.html
vendor-advisory, mailing-list
-
debian.org
/security/2012/dsa-2534
vendor-advisory, mailing-list
-
lists.opensuse.org
/opensuse-updates/2012-09/msg00102.html
vendor-advisory, mailing-list
-
lists.opensuse.org
/opensuse-updates/2012-10/msg00013.html
vendor-advisory, mailing-list
-
lists.opensuse.org
/opensuse-updates/2012-10/msg00024.html
vendor-advisory, mailing-list
-
postgresql.org
/about/news/1407/
vendor-advisory
-
postgresql.org
/support/security/
release-notes, vendor-advisory
-
securityfocus.com
/bid/55074
vdb-entry, broken-link, third-party-advisory
-
postgresql.org
/docs/9.0/static/release-9-0-9.html
release-notes
-
secunia.com
/advisories/50718
third-party-advisory, broken-link
-
postgresql.org
/docs/9.1/static/release-9-1-5.html
release-notes
-
blogs.oracle.com
/sunsecurity/entry/multiple_vulnerabilities_in_postgresql2
third-party-advisory
-
postgresql.org
/docs/8.4/static/release-8-4-13.html
release-notes
-
postgresql.org
/docs/8.3/static/release-8-3-20.html
release-notes
-
secunia.com
/advisories/50635
third-party-advisory, broken-link
-
secunia.com
/advisories/50946
third-party-advisory, broken-link
-
secunia.com
/advisories/50859
third-party-advisory, broken-link
Sources
- CVE List CVE-2012-3489
- NVD CVE-2012-3489
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.