CVE-2020-13692 Improper Restriction of XML External Entity Reference

High 7.7 Published Updated

An attacker can exploit an XML External Entity vulnerability in the PostgreSQL JDBC Driver to read sensitive files or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-13692?

CVE-2020-13692 is a high-severity vulnerability in Debian Debian Linux, published on 4 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PostgreSQL JDBC Driver (aka PgJDBC) before 42.2.13 allows XXE.

Weakness: CWE-611

Which versions are affected by CVE-2020-13692?

3 open source packages ship an affected version, including org.postgresql:postgresql and postgresql-jdbc-driver. It affects 5 products.

PackageAffectedFixed in
org.postgresql:postgresql MavenFrom 9.4.1212.jre642.2.13
org.postgresql:postgresql MavenFrom 9.4.1212.jre642.2.13
postgresql-jdbc-driver BitnamiAll versions42.2.13
Linux distribution packages (37)
postgresql-jdbc AlmaLinux:8All versions42.2.3-3.el8_2
postgresql-jdbc-javadoc AlmaLinux:8All versions42.2.3-3.el8_2
postgresql-jdbc Red Hat:enterprise_linux:6::clientAll versions0:8.4.704-4.el6_10
postgresql-jdbc Red Hat:enterprise_linux:6::computenodeAll versions0:8.4.704-4.el6_10
postgresql-jdbc Red Hat:enterprise_linux:6::serverAll versions0:8.4.704-4.el6_10
postgresql-jdbc Red Hat:enterprise_linux:6::workstationAll versions0:8.4.704-4.el6_10
postgresql-jdbc Red Hat:enterprise_linux:7::clientAll versions0:9.2.1002-8.el7_8
postgresql-jdbc-javadoc Red Hat:enterprise_linux:7::clientAll versions0:9.2.1002-8.el7_8
postgresql-jdbc Red Hat:enterprise_linux:7::computenodeAll versions0:9.2.1002-8.el7_8
postgresql-jdbc-javadoc Red Hat:enterprise_linux:7::computenodeAll versions0:9.2.1002-8.el7_8
postgresql-jdbc Red Hat:enterprise_linux:7::serverAll versions0:9.2.1002-8.el7_8
postgresql-jdbc-javadoc Red Hat:enterprise_linux:7::serverAll versions0:9.2.1002-8.el7_8
postgresql-jdbc Red Hat:enterprise_linux:7::workstationAll versions0:9.2.1002-8.el7_8
postgresql-jdbc-javadoc Red Hat:enterprise_linux:7::workstationAll versions0:9.2.1002-8.el7_8
postgresql-jdbc Red Hat:enterprise_linux:8::appstreamAll versions0:42.2.3-3.el8_2
postgresql-jdbc-javadoc Red Hat:enterprise_linux:8::appstreamAll versions0:42.2.3-3.el8_2
postgresql-jdbc Red Hat:rhel_e4s:8.0::appstreamAll versions0:42.2.3-3.el8_0
postgresql-jdbc-javadoc Red Hat:rhel_e4s:8.0::appstreamAll versions0:42.2.3-3.el8_0
postgresql-jdbc Red Hat:rhel_eus:8.1::appstreamAll versions0:42.2.3-3.el8_1
postgresql-jdbc-javadoc Red Hat:rhel_eus:8.1::appstreamAll versions0:42.2.3-3.el8_1
postgresql-jdbc Rocky Linux:8All versions0:42.2.3-3.el8_2
postgresql-jdbc SUSE:Linux Enterprise Server 12 SP5All versions9.4-3.3.1
postgresql-jdbc SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions9.4-3.3.1
image-sync-formula SUSE:Manager Server Module 4.1All versions0.1.1605087464.65d1b51-3.9.5
mgr-libmod SUSE:Manager Server Module 4.1All versions4.1.5-3.8.2
postgresql-jdbc SUSE:Manager Server Module 4.1All versions42.2.10-3.3.5
python-susemanager-retail SUSE:Manager Server Module 4.1All versions1.0.1605087464.65d1b51-3.6.5
saltboot-formula SUSE:Manager Server Module 4.1All versions0.1.1605087464.65d1b51-3.9.5
spacecmd SUSE:Manager Server Module 4.1All versions4.1.9-4.12.5
spacewalk-admin SUSE:Manager Server Module 4.1All versions4.1.8-3.9.5
spacewalk-backend SUSE:Manager Server Module 4.1All versions4.1.18-4.14.6
spacewalk-certs-tools SUSE:Manager Server Module 4.1All versions4.1.14-3.9.5
spacewalk-client-tools SUSE:Manager Server Module 4.1All versions4.1.8-4.9.5
spacewalk-java SUSE:Manager Server Module 4.1All versions4.1.24-3.19.6
spacewalk-search SUSE:Manager Server Module 4.1All versions4.1.4-3.6.6
spacewalk-setup SUSE:Manager Server Module 4.1All versions4.1.7-3.6.5
spacewalk-web SUSE:Manager Server Module 4.1All versions4.1.21-3.12.5

Products include Debian Debian Linux, Fedoraproject Fedora, Netapp Steelstore Cloud Integrated Storage, Postgresql Postgresql Jdbc Driver, Quarkus Quarkus.

How do I fix CVE-2020-13692?

Upgrade org.postgresql:postgresql to 42.2.13 or later.

Is CVE-2020-13692 being exploited?

There is no known exploitation of CVE-2020-13692 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2020:3176, BIT-postgresql-jdbc-driver-2020-13692, DEBIAN-CVE-2020-13692, GHSA-88cc-g835-76rp, MGASA-2020-0319, RHSA-2020:3176 and 9 more.

Is CVE-2020-13692 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free