CVE-2012-3489
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…
Check your servers for CVE-2012-3489
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-3489 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
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.
Exploitation
EPSS 3.06%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 88.3% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-3489 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-3489RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-3489Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-3489
trivy image --scanners vuln IMAGE | grep CVE-2012-3489
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- RHSA-2012:1263 rhn.redhat.com · vendor advisory
- http://www.postgresql.org/docs/9.0/static/release-9-0-9.html postgresql.org
- MDVSA-2012:139 mandriva.com · vendor advisory
- USN-1542-1 ubuntu.com · vendor advisory
- 50718 secunia.com · third party advisory
- http://www.postgresql.org/docs/9.1/static/release-9-1-5.html postgresql.org
- https://blogs.oracle.com/sunsecurity/entry/multiple_vulnerabilities_in_postgresql2 blogs.oracle.com
- http://www.postgresql.org/docs/8.4/static/release-8-4-13.html postgresql.org
- http://www.postgresql.org/docs/8.3/static/release-8-3-20.html postgresql.org
- http://www.postgresql.org/about/news/1407/ postgresql.org
- 50635 secunia.com · third party advisory
- http://www.postgresql.org/support/security/ postgresql.org
8 more
- APPLE-SA-2013-03-14-1 lists.apple.com · vendor advisory
- 50946 secunia.com · third party advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=849173 bugzilla.redhat.com
- DSA-2534 debian.org · vendor advisory
- openSUSE-SU-2012:1251 lists.opensuse.org · vendor advisory
- openSUSE-SU-2012:1288 lists.opensuse.org · vendor advisory
- 50859 secunia.com · third party advisory
- openSUSE-SU-2012:1299 lists.opensuse.org · vendor advisory
Other references
- 55074 securityfocus.com · vdb entry
Source: the record CVE-2012-3489 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse