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.
[
{
"events": [
{
"introduced": "12.0"
},
{
"fixed": "12.21"
}
]
},
{
"events": [
{
"introduced": "13.0"
},
{
"fixed": "13.17"
}
]
},
{
"events": [
{
"introduced": "14.0"
},
{
"fixed": "14.14"
}
]
},
{
"events": [
{
"introduced": "15.0"
},
{
"fixed": "15.9"
}
]
},
{
"events": [
{
"introduced": "16.0"
},
{
"fixed": "16.5"
}
]
},
{
"events": [
{
"introduced": "17.0"
},
{
"fixed": "17.1"
}
]
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-10979.json"