CVE-2024-10979

HIGHCVSS 8.8/10EPSS 4.42%

Last modified

CVE-2024-10979 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). EPSS estimates a 4.42% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

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

EPSS Probability
4.42%

90.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PostgresqlPostgresql>= 12.0, < 12.21
PostgresqlPostgresql>= 13.0, < 13.17
PostgresqlPostgresql>= 14.0, < 14.14
PostgresqlPostgresql>= 15.0, < 15.9
PostgresqlPostgresql>= 16.0, < 16.5
PostgresqlPostgresql>= 17.0, < 17.1

References

Timeline

Published
Last Modified
Status
Modified

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.
How severe is CVE-2024-10979?
CVE-2024-10979 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 4.42% probability of exploitation in the next 30 days.
How do I fix CVE-2024-10979?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-10979?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST