CVE catalog

CVE-2021-33204

pg-partman: CVE-2021-33204

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
2.20% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpg-partmansid5.5.0-1fixed
Debianpg-partmanforky5.5.0-1fixed
Debianpg-partmantrixie5.2.4-1fixed
Debianpg-partmanbookworm4.7.2-1fixed
Ubuntupg-partman16.042.2.2-1vulnerable
Ubuntupg-partman16.042.2.2-2vulnerable
Ubuntupg-partman18.042.6.3-1vulnerable
Ubuntupg-partman18.043.1.0-1vulnerable
Ubuntupg-partman18.043.1.1-1vulnerable
Ubuntupg-partman18.043.1.2-1vulnerable
Ubuntupg-partman20.044.0.0-1vulnerable
Ubuntupg-partman20.044.2.0-1vulnerable
Ubuntupg-partman20.044.2.2-1vulnerable
Ubuntupg-partman20.044.3.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpg-partmansourcesid4.5.1-1not yet assignedNot reported[988917]
Debianpg-partmansourceforky4.5.1-1not yet assignedNot reported[988917]
Debianpg-partmansourcetrixie4.5.1-1not yet assignedNot reported[988917]
Debianpg-partmansourcebookworm4.5.1-1not yet assignedNot reported[988917]

[Debian bug #988917]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pg-partman]

    Details (2)
    • 4.7.2-1 · amd64 · bookworm

      Fixed · Fixed: 4.5.1-1

      dsa · pg-partman · debian · bookworm; dsa · pg-partman · debian · 12

    • 4.7.2-1 · arm64 · bookworm

      Fixed · Fixed: 4.5.1-1

      dsa · pg-partman · debian · bookworm; dsa · pg-partman · debian · 12

[Debian 13 (Trixie)]

  • Source package: [pg-partman]

    Details (2)
    • 5.2.4-1 · amd64 · trixie

      Fixed · Fixed: 4.5.1-1

      dsa · pg-partman · debian · 13

    • 5.2.4-1 · arm64 · trixie

      Fixed · Fixed: 4.5.1-1

      dsa · pg-partman · debian · 13

Observed:

References