CVE-2021-33204
CRITICALCVSS 9.8/10EPSS 2.20%
Last modified
CVE-2021-33204 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 2.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pgxn | Pg Partman | < 4.5.1 |
References
- https://github.com/pgpartman/pg_partman/commit/0b6565ad378c358f8a6cd1d48ddc482eb7f854d3Patch, Third Party Advisory
- https://github.com/pgpartman/pg_partman/compare/v4.5.0...v4.5.1Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210625-0006/Third Party Advisory
- https://github.com/pgpartman/pg_partman/commit/0b6565ad378c358f8a6cd1d48ddc482eb7f854d3Patch, Third Party Advisory
- https://github.com/pgpartman/pg_partman/compare/v4.5.0...v4.5.1Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210625-0006/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-33204?
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.
How severe is CVE-2021-33204?
CVE-2021-33204 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.20% probability of exploitation in the next 30 days.
How do I fix CVE-2021-33204?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-33204?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
