CVE Catalog

CVE-2024-10979

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
4.39%

92th percentile - higher than 92% of all known CVEs

Summary

Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g., PATH). This often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user.

Risk Assessment

An attacker with database user privileges could execute arbitrary code in the context of the PostgreSQL process, potentially leading to database server compromise or privilege escalation.

Recommendation

Update PostgreSQL to version 17.1, 16.5, 15.9, 14.14, 13.17, or 12.21 (or later) which contain the fix for this vulnerability.

Other vulnerabilities in PostgreSQL

See all
Original NVD description (English source)

Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS