CVE-2024-10979
CVE-2024-10979 is a high-severity vulnerability in Postgresql with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-610.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-33389
- Weakness: CWE-610
- Affected product: Postgresql
- Published:
- Last modified:
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.
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 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-10979 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-10979?
- CVE-2024-10979 affects Postgresql. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-10979?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-10979 have an EU (EUVD) identifier?
- Yes. CVE-2024-10979 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-33389.
- When was CVE-2024-10979 published?
- CVE-2024-10979 was published on 2024-11-14 and last updated on 2026-06-17.
References
- https://www.postgresql.org/support/security/CVE-2024-10979/
- https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md
- https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html
- https://security.netapp.com/advisory/ntap-20250110-0003/
Affected products (1)
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
More vulnerabilities in Postgresql
- CVE-2013-1903 — Critical (CVSS 10.0): PostgreSQL, possibly 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, 8.4.x before 8.4.17, and 8.3.x before…
- CVE-2013-1902 — Critical (CVSS 10.0): PostgreSQL, 9.2.x before 9.2.4, 9.1.x before 9.1.9, 9.0.x before 9.0.13, 8.4.x before 8.4.17, and 8.3.x before 8.3.23…
- CVE-2007-3279 — Critical (CVSS 10.0): PostgreSQL 8.1 and probably later versions, when the PL/pgSQL (plpgsql) language has been created, grants certain…
- CVE-2002-1399 — Critical (CVSS 10.0): Unknown vulnerability in cash_out and possibly other functions in PostgreSQL 7.2.1 and earlier, and possibly later…
- CVE-2015-0244 — Critical (CVSS 9.8): PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not…
- CVE-2015-3166 — Critical (CVSS 9.8): The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7,…
All CVEs affecting Postgresql →
Other CWE-610 vulnerabilities
- CVE-2022-27593 — Critical (CVSS 10.0): An externally controlled reference to a resource vulnerability has been reported to affect QNAP NAS running Photo…
- CVE-2019-7290 — Critical (CVSS 10.0): An access issue was addressed with additional sandbox restrictions. This issue is fixed in Shortcuts 2.1.3 for iOS. A…
- CVE-2017-16088 — Critical (CVSS 10.0): The safe-eval module describes itself as a safer version of eval. By accessing the object constructors, un-sanitized…
- CVE-2022-39206 — Critical (CVSS 9.9): Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. When using Docker-based job executors, the…
- CVE-2026-47643 — Critical (CVSS 9.8): External control of file name or path in Azure Stack Edge allows an unauthorized attacker to execute code over a…
- CVE-2022-20239 — Critical (CVSS 9.8): remap_pfn_range' here may map out of size kernel memory (for example, may map the kernel area), and because the…