SQL Injection in Pgjdbc
CVE-2022-31197
PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. The PGJDBC implementation of the `java.sql.ResultRow.refreshRow()` method is not performing…
Vulnerability class: SQL Injection
EPSS: 0.017 (74.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Pgjdbc — versions >= 42.2.0, < 42.2.26, >= 42.3.0, < 42.4.1
- Postgresql Postgresql_jdbc_driver — versions 42.4.0, 42.4.1
- Debian Debian_linux — versions 10.0
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (vendor-advisory)
- security-advisories@github.com (vendor-advisory)
- security-advisories@github.com (mailing-list, Mailing List, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-31197?
- CVE-2022-31197 is a high-severity vulnerability in Pgjdbc, classified under SQL Injection. CVSS score: 7.1/10. Published 2022-08-03.
- How severe is CVE-2022-31197?
- High severity. CVSS v3 base score is 7.1 out of 10.
- Is CVE-2022-31197 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.