CVE-2024-27304
Last modified
CVE-2024-27304 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. EPSS estimates a 1.11% chance of exploitation in the next 30 days.
Description
pgx is a PostgreSQL driver and toolkit for Go. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.
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 |
|---|---|---|
| Jackc | Pgproto3 | < 2.3.3 |
| Jackc | Pgx | < 4.18.2 |
| Jackc | Pgx | >= 5.0.0, < 5.5.4 |
References
- https://www.youtube.com/watch?v=Tfg1B8u1yvEPress/Media Coverage
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27304?
How severe is CVE-2024-27304?
How do I fix CVE-2024-27304?
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 2024
- CVE-2024-27299phpMyFAQ is an open source FAQ web application for PHP 8.1+ …8.8
- CVE-2024-2730Mautic uses predictable page indices for unpublished landing…5.3
- CVE-2024-27300phpMyFAQ is an open source FAQ web application for PHP 8.1+ …5.4
- CVE-2024-27301Support App is an opensource application specialized in mana…7.3
- CVE-2024-27302go-zero is a web and rpc framework. Go-zero allows user to s…9.1
- CVE-2024-27303electron-builder is a solution to package and build a ready …7.3
- CVE-2024-27305aiosmtpd is a reimplementation of the Python stdlib smtpd.py…5.3
- CVE-2024-27306aiohttp is an asynchronous HTTP client/server framework for …6.1
- CVE-2024-27307JSONata is a JSON query and transformation language. Startin…9.8
- CVE-2024-27308Mio is a Metal I/O library for Rust. When using named pipes …9.1
- CVE-2024-27309While an Apache Kafka cluster is being migrated from ZooKeep…7.4
- CVE-2024-2731Users with low privileges (all permissions deselected in the…5.4
Are you affected by CVE-2024-27304?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
