CVE-2020-13692: PostgreSQL JDBC Driver (aka PgJDBC) before 42.2.13 allows XXE.
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4% (FIRST EPSS); higher than 90.7% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: postgresql-jdbc (AlmaLinux:8) 42.2.3-3.el8_2; postgresql-jdbc-javadoc (AlmaLinux:8) 42.2.3-3.el8_2; libpgjava (Debian:12) 42.2.12-2.
Low priority for now. Upgrade to postgresql-jdbc (AlmaLinux:8) 42.2.3-3.el8_2; postgresql-jdbc-javadoc (AlmaLinux:8) 42.2.3-3.el8_2; libpgjava (Debian:12) 42.2.12-2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Jun 4, 2020
- Updated
- Jun 16, 2026
- EPSS
- 4.0% · 90th percentile
- CWE
- CWE-611
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.0%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| postgresql | postgresql jdbc driver | cpe:2.3:a:postgresql:postgresql_jdbc_driver |
| quarkus | quarkus | cpe:2.3:a:quarkus:quarkus |
| netapp | steelstore cloud integrated storage | cpe:2.3:a:netapp:steelstore_cloud_integrated_storage |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux11.0
- fedoraproject fedora32
- netapp steelstore cloud integrated storageall versions
- postgresql postgresql jdbc driverbefore 42.2.13
- quarkus quarkusup to 1.5.2 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | postgresql-jdbc | before 42.2.3-3.el8_2 | 42.2.3-3.el8_2 |
| AlmaLinux:8 | postgresql-jdbc-javadoc | before 42.2.3-3.el8_2 | 42.2.3-3.el8_2 |
| Debian:12 | libpgjava | before 42.2.12-2 | 42.2.12-2 |
| Maven | org.postgresql:postgresql | from 9.4.1212.jre6 · before 42.2.13 | 42.2.13 |
| Red Hat:enterprise_linux:6::client | postgresql-jdbc | before 0:8.4.704-4.el6_10 | 0:8.4.704-4.el6_10 |
| Red Hat:enterprise_linux:7::client | postgresql-jdbc | before 0:9.2.1002-8.el7_8 | 0:9.2.1002-8.el7_8 |
| Red Hat:enterprise_linux:7::client | postgresql-jdbc-javadoc | before 0:9.2.1002-8.el7_8 | 0:9.2.1002-8.el7_8 |
| Red Hat:enterprise_linux:8::appstream | postgresql-jdbc | before 0:42.2.3-3.el8_2 | 0:42.2.3-3.el8_2 |
| Red Hat:enterprise_linux:8::appstream | postgresql-jdbc-javadoc | before 0:42.2.3-3.el8_2 | 0:42.2.3-3.el8_2 |
| Red Hat:rhel_e4s:8.0::appstream | postgresql-jdbc | before 0:42.2.3-3.el8_0 | 0:42.2.3-3.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | postgresql-jdbc-javadoc | before 0:42.2.3-3.el8_0 | 0:42.2.3-3.el8_0 |
| Red Hat:rhel_eus:8.1::appstream | postgresql-jdbc | before 0:42.2.3-3.el8_1 | 0:42.2.3-3.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | postgresql-jdbc-javadoc | before 0:42.2.3-3.el8_1 | 0:42.2.3-3.el8_1 |
| Rocky Linux:8 | postgresql-jdbc | before 0:42.2.3-3.el8_2 | 0:42.2.3-3.el8_2 |
| SUSE:Linux Enterprise Server 12 SP5 | postgresql-jdbc | before 9.4-3.3.1 | 9.4-3.3.1 |
| SUSE:Manager Server Module 4.0 | bind-formula | before 0.1.1603299886.60e4bcf-3.11.1 | 0.1.1603299886.60e4bcf-3.11.1 |
| SUSE:Manager Server Module 4.0 | grafana-formula | before 0.2.2-4.13.1 | 0.2.2-4.13.1 |
| SUSE:Manager Server Module 4.0 | postgresql-jdbc | before 42.2.10-3.3.1 | 42.2.10-3.3.1 |
| SUSE:Manager Server Module 4.0 | prometheus-exporters-formula | before 0.7.5-3.16.1 | 0.7.5-3.16.1 |
| SUSE:Manager Server Module 4.0 | prometheus-formula | before 0.2.3-4.16.1 | 0.2.3-4.16.1 |
| SUSE:Manager Server Module 4.0 | salt-netapi-client | before 0.18.0-4.12.1 | 0.18.0-4.12.1 |
| SUSE:Manager Server Module 4.0 | spacewalk-admin | before 4.0.12-3.15.1 | 4.0.12-3.15.1 |
| SUSE:Manager Server Module 4.0 | spacewalk-backend | before 4.0.35-3.38.1 | 4.0.35-3.38.1 |
| SUSE:Manager Server Module 4.0 | spacewalk-java | before 4.0.40-3.48.2 | 4.0.40-3.48.2 |
+28
Same product
postgresql: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-1597pgjdbc SQL Injection via line comment generation40Plan
- CVE-2022-26520In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary 40Plan
- CVE-2022-21724Unchecked Class Instantiation when providing Plugin Classes40Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-10936Aug 30, 2018 · A weakness was found in postgresql-jdbc before version 42.2.5.33Monitor
- Later →CVE-2022-31197Aug 3, 2022 · SQL Injection in ResultSet.refreshRow() with malicious column names in pgjdbc33Monitor
- Later →CVE-2022-41946Nov 23, 2022 · TemporaryFolder on unix-like systems does not limit access to created files in pgjdbc22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:postgresql-jdbc | 42.2.3-3.el8_2 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:postgresql-jdbc-javadoc | 42.2.3-3.el8_2 · AlmaLinux:8 | Package registry (OSV) |
| debian:libpgjava | 42.2.12-2 · Debian:12 | Package registry (OSV) |
| Maven:org.postgresql:postgresql | 42.2.13 | Package registry (OSV) |
| red hat:postgresql-jdbc | 0:42.2.3-3.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:postgresql-jdbc-javadoc | 0:42.2.3-3.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:postgresql-jdbc | 0:42.2.3-3.el8_2 · Rocky Linux:8 | Package registry (OSV) |
| suse:bind-formula | 0.1.1603299886.60e4bcf-3.11.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:grafana-formula | 0.2.2-4.13.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:postgresql-jdbc | 42.2.10-3.3.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:prometheus-exporters-formula | 0.7.5-3.16.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:prometheus-formula | 0.2.3-4.16.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:salt-netapi-client | 0.18.0-4.12.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:spacewalk-admin | 4.0.12-3.15.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:spacewalk-backend | 4.0.35-3.38.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:spacewalk-java | 4.0.40-3.48.2 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:spacewalk-web | 4.0.25-3.36.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:susemanager | 4.0.32-3.46.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
| suse:susemanager-schema | 4.0.23-3.32.1 · SUSE:Manager Server Module 4.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- Low
- Availability impact
- High
Weakness class (CWE)
CWE-611 · Improper Restriction of XML External Entity ReferenceCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- jdbc.postgresql.org/documentation/changelog.html#version_42.2.13
- lists.apache.org/thread.html/r00bcc6b2da972e0d6332a4ebc7807e17305d8b8e7fb2ae63d2a3cbfb%40%3Ccommits.camel.apache.org%3E
- lists.apache.org/thread.html/r01ae1b3d981cf2e563e9b5b0a6ea54fb3cac8e9a0512ee5269e3420e%40%3Ccommits.camel.apache.org%3E
- lists.apache.org/thread.html/r0478a1aa9ae0dbd79d8f7b38d0d93fa933ac232e2b430b6f31a103c0%40%3Ccommits.camel.apache.org%3E
- lists.apache.org/thread.html/r1aae77706aab7d89b4fe19be468fc3c73e9cc84ff79cc2c3bd07c05a%40%3Ccommits.camel.apache.org%3E
- lists.apache.org/thread.html/r4bdea189c9991aae7a929d28f575ec46e49ed3d68fa5235825f38a4f%40%3Cnotifications.netbeans.apache.org%3E
- lists.apache.org/thread.html/r631f967db6260d6178740a3314a35d9421facd8212e62320275fa78e%40%3Ccommits.camel.apache.org%3E
- lists.apache.org/thread.html/r7f6d019839df17646ffd0046a99146cacf40492a6c92078f65fd32e0%40%3Ccommits.camel.apache.org%3E
- lists.apache.org/thread.html/rb89f92aba44f524d5c270e0c44ca7aec4704691c37fe106cf73ec977%40%3Cnotifications.netbeans.apache.org%3E
- lists.apache.org/thread.html/rfe363bf3a46d440ad57fd05c0e313025c7218364bbdc5fd8622ea7ae%40%3Ccommits.camel.apache.org%3E
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCCAPM6FSNOC272DLSNQ6YHXS3OMHGJC/
- security.netapp.com/advisory/ntap-20200619-0005/
- www.debian.org/security/2022/dsa-5196
Vendor advisories and official records. Exploit/PoC links are deliberately left out.