CVE-2022-21724
Last modified
CVE-2022-21724 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. EPSS estimates a 3.01% chance of exploitation in the next 30 days.
Description
pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker control the jdbc url or properties. pgjdbc instantiates plugin instances based on class names provided via `authenticationPluginClassName`, `sslhostnameverifier`, `socketFactory`, `sslfactory`, `sslpasswordcallback` connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. Users using plugins are advised to upgrade. There are no known workarounds for this issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Postgresql | Postgresql Jdbc Driver | < 42.2.25 | — |
| Postgresql | Postgresql Jdbc Driver | >= 42.3.0, < 42.3.2 | — |
| Postgresql | Postgresql Jdbc Driver | 42.3.2 | Rc1 |
| Fedoraproject | Fedora | 35 | — |
| Quarkus | Quarkus | < 2.7.2 | — |
| Debian | Debian Linux | 9.0 | — |
| Debian | Debian Linux | 10.0 | — |
| Debian | Debian Linux | 11.0 | — |
References
- https://github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813Patch, Third Party Advisory
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-v7wg-cpwc-24m4Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00027.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220311-0005/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5196Third Party Advisory
- https://github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813Patch, Third Party Advisory
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-v7wg-cpwc-24m4Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00027.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220311-0005/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5196Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21724?
How severe is CVE-2022-21724?
How do I fix CVE-2022-21724?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-21719GLPI is a free asset and IT management software package. All…6.1
- CVE-2022-2172The LinkWorth WordPress plugin before 3.3.4 does not impleme…4.3
- CVE-2022-21720GLPI is a free asset and IT management software package. Pri…4.9
- CVE-2022-21721Next.js is a React framework. Starting with version 12.0.0 a…7.5
- CVE-2022-21722PJSIP is a free and open source multimedia communication lib…9.1
- CVE-2022-21723PJSIP is a free and open source multimedia communication lib…9.1
- CVE-2022-21725Tensorflow is an Open Source Machine Learning Framework. The…6.5
- CVE-2022-21726Tensorflow is an Open Source Machine Learning Framework. The…8.8
- CVE-2022-21727Tensorflow is an Open Source Machine Learning Framework. The…8.8
- CVE-2022-21728Tensorflow is an Open Source Machine Learning Framework. The…8.1
- CVE-2022-21729Tensorflow is an Open Source Machine Learning Framework. The…6.5
- CVE-2022-2173The Advanced Database Cleaner WordPress plugin before 3.1.1 …6.1
Are you affected by CVE-2022-21724?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
