SQL injection in PostgreSQL driver and toolkit for Go - CVE-2024-27304

 

SQL injection in PostgreSQL driver and toolkit for Go - CVE-2024-27304

Published: March 26, 2024


Vulnerability identifier: #VU87832
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-27304
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data when handling overly large queries that exceed 4 GB in size. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

PostgreSQL driver and toolkit for Go
Agent
Dell EMC OpenManage Enterprise Modular
IBM Cloud Pak for Watson AIOps
Red Hat Advanced Cluster Security for Kubernetes
IBM Observability with Instana
Fedora
caddy

How to mitigate CVE-2024-27304

Install update from vendor's website.

PostgreSQL driver and toolkit for Go - addressed in versions 4.18.2, 5.5.4
Agent - update to 0.40.4
Red Hat Advanced Cluster Security for Kubernetes - update to 4.3.5
IBM Observability with Instana - update to 273
caddy - update to 2.8.4-1.fc41
Dell EMC OpenManage Enterprise Modular - update to 2.20.20
IBM Cloud Pak for Watson AIOps - update to 4.6.0

External References

Related Security Bulletins