CVE-2024-10979

Summary

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 Software

VendorProductVersion RangeStatus
n/aPostgreSQL17 < 17.1affected
n/aPostgreSQL16 < 16.5affected
n/aPostgreSQL15 < 15.9affected
n/aPostgreSQL14 < 14.14affected
n/aPostgreSQL13 < 13.17affected
n/aPostgreSQL0 < 12.21affected

Weaknesses

  • CWE-15: External Control of System or Configuration Setting

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

CVE Program Container

Additional References

References