Vulnerability · Published May 19, 2021 · Assigned by mitre
CVE-2021-33204
Critical 9.8
In plain English
A critical-severity security flaw in the pg-partman package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.2%top 17.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pg-partman | 4.5.1-1 | DEBIAN-CVE-2021-33204 |
| Debian:13 | pg-partman | 4.5.1-1 | DEBIAN-CVE-2021-33204 |
| Debian:14 | pg-partman | 4.5.1-1 | DEBIAN-CVE-2021-33204 |
Affected products (as reported)
References
- https://github.com/pgpartman/pg_partman/commit/0b6565ad378c358f8a6cd1d48ddc482eb7f854d3 x_refsource_MISC
- https://github.com/pgpartman/pg_partman/compare/v4.5.0...v4.5.1 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210625-0006/ x_refsource_CONFIRM