CVE-2024-10979

HIGH
Published Nov 14, 2024 Modified Nov 3, 2025 CWE-15 CWE-610

Description

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.

CVSS v3.1 Score

8.8
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-15 CWE-15
CWE-610 CWE-610

Affected Products

Vendor Product
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql
postgresql postgresql

References

Frequently Asked Questions

What is CVE-2024-10979? +
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. It has a CVSS v3.1 base score of 8.8 (HIGH).
How severe is CVE-2024-10979? +
CVE-2024-10979 has a CVSS v3.1 score of 8.8 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-10979? +
CVE-2024-10979 affects products from postgresql, specifically: postgresql. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-10979? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-10979 — free, no signup required.

Start Free Scan