CVE-2024-10979
High
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.
SeverityHigh
CVSS8.8
Exploit probability91. percentile4.4%
Product
Postgresql
PublishedNov 14, 2024
First seenNov 14, 2024
Weakness typeCWE-15CWE-15
How to fix
Update
- postgresql postgresql12.21, 13.17, 14.14, 15.9, 16.5, 17.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| postgresql postgresql | 12.0 ≤ v < 12.21, 13.0 ≤ v < 13.17, 14.0 ≤ v < 14.14, 15.0 ≤ v < 15.9, 16.0 ≤ v < 16.5, 17.0 ≤ v < 17.1 | 12.21, 13.17, 14.14, 15.9, 16.5, 17.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.