{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-10979","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","state":"PUBLISHED","assignerShortName":"PostgreSQL","dateReserved":"2024-11-07T19:27:04.476Z","datePublished":"2024-11-14T13:00:08.586Z","dateUpdated":"2025-11-03T21:51:41.330Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","shortName":"PostgreSQL","dateUpdated":"2024-11-14T13:00:08.586Z"},"title":"PostgreSQL PL/Perl environment variable changes execute arbitrary code","descriptions":[{"lang":"en","value":"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."}],"affected":[{"defaultStatus":"unaffected","product":"PostgreSQL","vendor":"n/a","versions":[{"lessThan":"17.1","status":"affected","version":"17","versionType":"rpm"},{"lessThan":"16.5","status":"affected","version":"16","versionType":"rpm"},{"lessThan":"15.9","status":"affected","version":"15","versionType":"rpm"},{"lessThan":"14.14","status":"affected","version":"14","versionType":"rpm"},{"lessThan":"13.17","status":"affected","version":"13","versionType":"rpm"},{"lessThan":"12.21","status":"affected","version":"0","versionType":"rpm"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-15","type":"CWE","description":"External Control of System or Configuration Setting"}]}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2024-10979/"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"}}],"configurations":[{"lang":"en","value":"administrator has installed PL/Perl"},{"lang":"en","value":"attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema)"}],"credits":[{"lang":"en","value":"The PostgreSQL project thanks Coby Abrams for reporting this problem."}]},"adp":[{"affected":[{"vendor":"postgresql","product":"postgresql","cpes":["cpe:2.3:a:postgresql:postgresql:-:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"12.21","versionType":"rpm"},{"version":"13","status":"affected","lessThan":"13.17","versionType":"rpm"},{"version":"14","status":"affected","lessThan":"14.14","versionType":"rpm"},{"version":"15","status":"affected","lessThan":"15.9","versionType":"rpm"},{"version":"16","status":"affected","lessThan":"16.5","versionType":"rpm"},{"version":"17","status":"affected","lessThan":"17.1","versionType":"rpm"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-20T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2024-10979"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-11-21T04:55:16.916Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md"},{"url":"https://security.netapp.com/advisory/ntap-20250110-0003/"},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T21:51:41.330Z"}}]}}