Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-27289

8.1 · HIGH
Published Mar 6, 2024 jackc CWE-89 EPSS 0.85% (56th pctl)

Overview

CVE-2024-27289 is a high-severity vulnerability affecting jackc pgx. It was published on March 6, 2024 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.

Remediation

Check the references section for vendor advisories and patches from jackc. Update pgx to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
jackc pgx >= 0, < 4.18.2 Affected

Frequently Asked Questions

What is CVE-2024-27289?

CVE-2024-27289 is a high-severity vulnerability affecting jackc pgx. It was published on March 6, 2024 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2024-27289?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-27289?

Check the references section for vendor advisories and patches from jackc. Update pgx to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-27289?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-27289 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.