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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-33197In Go before 1.15.13 and 1.16.x before 1.16.5, some configur…5.3
- CVE-2021-33198In Go before 1.15.13 and 1.16.x before 1.16.5, there can be …7.5
- CVE-2021-33199In Expression Engine before 6.0.3, addonIcon in Addons/file/…9.8
- CVE-2021-3320Type Confusion in 802154 ACK Frames Handling. Zephyr version…7.5
- CVE-2021-33200kernel/bpf/verifier.c in the Linux kernel through 5.12.7 enf…7.8
- CVE-2021-33203Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.…4.9
- CVE-2021-33205Western Digital EdgeRover before 0.25 has an escalation of p…8.8
- CVE-2021-33207The HTTP client in MashZone NextGen through 10.7 GA deserial…9.8
- CVE-2021-33208The "Register an Ehcache Configuration File" admin feature i…7.2
- CVE-2021-33209An issue was discovered in Fimer Aurora Vision before 2.97.1…5.3
- CVE-2021-3321Integer Underflow in Zephyr in IEEE 802154 Fragment Reassemb…8.8
- CVE-2021-33210An issue was discovered in Fimer Aurora Vision before 2.97.1…4.3
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
