{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-10979", "ASSIGNER": "cna@postgresql.org", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "External Control of System or Configuration Setting", "cweId": "CWE-15" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "n/a", "product": { "product_data": [ { "product_name": "PostgreSQL", "version": { "version_data": [ { "version_affected": "<", "version_name": "17", "version_value": "17.1" }, { "version_affected": "<", "version_name": "16", "version_value": "16.5" }, { "version_affected": "<", "version_name": "15", "version_value": "15.9" }, { "version_affected": "<", "version_name": "14", "version_value": "14.14" }, { "version_affected": "<", "version_name": "13", "version_value": "13.17" }, { "version_affected": "<", "version_name": "0", "version_value": "12.21" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://www.postgresql.org/support/security/CVE-2024-10979/", "refsource": "MISC", "name": "https://www.postgresql.org/support/security/CVE-2024-10979/" } ] }, "configuration": [ { "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." } ], "impact": { "cvss": [ { "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" } ] } }