External Control of System or Configuration Setting Affecting postgresql-libs package, versions <0:9.2.24-8.amzn2.0.5


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.07% (34th 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-AMZN2-POSTGRESQLLIBS-8747295
  • published26 Feb 2025
  • disclosed14 Nov 2024

Introduced: 14 Nov 2024

CVE-2024-10979  (opens in a new tab)
CWE-15  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 postgresql-libs to version 0:9.2.24-8.amzn2.0.5 or higher.
This issue was patched in ALAS2-2025-2764.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-libs package and not the postgresql-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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