Arbitrary Command Injection Affecting pg-partman package, versions <4.5.1-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.2% (81st 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-DEBIAN14-PGPARTMAN-11764303
  • published10 Aug 2025
  • disclosed19 May 2021

Introduced: 19 May 2021

CVE-2021-33204  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade Debian:14 pg-partman to version 4.5.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pg-partman package and not the pg-partman package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

In the pg_partman (aka PG Partition Manager) extension before 4.5.1 for PostgreSQL, arbitrary code execution can be achieved via SECURITY DEFINER functions because an explicit search_path is not set.

CVSS Base Scores

version 3.1