Arbitrary Code Execution Affecting postgresql package, versions [,12.21)[13.0,13.17)[14.0,14.14)[15.0,15.9)[16.0,16.5)[17.0,17.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-8383165
  • published17 Nov 2024
  • disclosed13 Nov 2024
  • creditCoby Abrams

Introduced: 13 Nov 2024

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

How to fix?

Upgrade postgresql to version 12.21, 13.17, 14.14, 15.9, 16.5, 17.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution via trusted PL/Perl, due to missing checks in plperl/plc_trusted.pl. A user with USAGE privilege on the language can bypass protections and expected containment to modify environment variables in such a way as to execute arbitrary code.

CVSS Scores

version 4.0
version 3.1