SecurityContext

CVE-2024-10979: PostgreSQL - Insecure Deserialization

  • Cve: CVE-2024-10979
  • Name: PostgreSQL - Insecure Deserialization
  • 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.
  • Impact: Unprivileged database users can modify environment variables to execute arbitrary code, risking full server compromise.
  • Remediation: Update to PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, or 12.21 or later versions.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs database user privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04393
  • Epss percentile: 0.91455
  • Assignee: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
  • Published at: 2024-11-14T13:15:04Z
  • Age in days: 740
  • Modified at: 2026-06-17T06:56:49Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-10979
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd

Cwe

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

Hackerone

  • Reports: 2
  • Rank: 1901

Public exploits

UrlSourceAdded date
https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.mdnvd2024-11-14

References

Same in every row:

  • Source: nvd
UrlTags
https://www.postgresql.org/support/security/CVE-2024-10979/Vendor Advisory
https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.mdExploit, Mitigation, Third Party Advisory
https://security.netapp.com/advisory/ntap-20250110-0003/Third Party Advisory
https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html

Products

ProductAffectedPlatform boundSourcesUrl
postgresql:postgresql>= 17.0, < 17.1; >= 16.0, < 16.5; >= 15.0, < 15.9; >= 14.0, < 14.14; >= 13.0, < 13.17; >= 12.0, < 12.21nonvd/v1/products/postgresql/postgresql

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-11-14
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 2
  • Exposed hosts: 217768
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since