CVE-2021-33204
9.8critical
In the pgpartman (aka PG Partition Manager) extension before 4.5.1 for PostgreSQL, arbitrary code execution can be achieved via SECURITY DE…
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.20% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pgxn pg_partman | before 4.5.1 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
What each source says
CVE List
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.
NVD (es)
En la extensión pg_partman (también se conoce como PG Partition Manager) versiones anteriores a 4.5.1 para PostgreSQL, una ejecución de código arbitrario puede ser logrado por medio de las funciones SECURITY DEFINER porque no está ajustado a una ruta de búsqueda explícita
References
| https://github.com/pgpartman/pg_partman/commit/0b6565ad378c358f8a6cd1d48ddc482eb7f854d3 | patch, third-party-advisory | |
| https://github.com/pgpartman/pg_partman/compare/v4.5.0...v4.5.1 | patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20210625-0006/ | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-33204 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-33204 changed 2026-06-17 | Public domain |