CVE-2024-10979 Affecting postgresql-12 package, versions <12.22-0ubuntu0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-POSTGRESQL12-8382225
  • published3 Dec 2024
  • disclosed14 Nov 2024

Introduced: 14 Nov 2024

NewCVE-2024-10979  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 postgresql-12 to version 12.22-0ubuntu0.20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-12 package and not the postgresql-12 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1