CVEvulnerability

CVE-2024-10979

8.8 HIGH Published 2024-11-14 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-11-14
Last modified
2026-06-17
Assigner
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-15, CWE-610

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.

Affected configurations

• postgresql postgresql (>= 12.0 < 12.21) • postgresql postgresql (>= 13.0 < 13.17) • postgresql postgresql (>= 14.0 < 14.14) • postgresql postgresql (>= 15.0 < 15.9) • postgresql postgresql (>= 16.0 < 16.5) • postgresql postgresql (>= 17.0 < 17.1)

Related

Weakness · CWE (2)

  • CWE-15 External Control of System or Configuration Setting weakness
  • CWE-610 Externally Controlled Reference to a Resource in Another Sphere weakness

References