CVE-2021-38140
9.8 CRITICALThe set_user extension module before 2.0.1 for PostgreSQL allows a potential privilege escalation using RESET SESSION AUTHORIZATION after...
Published: 2021-08-10 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 9.8 CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-269
Affected products
| Vendor | Product |
|---|---|
| set_user_project | set_user |
Description
The set_user extension module before 2.0.1 for PostgreSQL allows a potential privilege escalation using RESET SESSION AUTHORIZATION after set_user().
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-38140
- [Patch]https://github.com/pgaudit/set_user/compare/REL2_0_0...REL2_0_1
- [Other]https://github.com/pgaudit/set_user/releases/tag/REL2_0_1
- [Patch]https://github.com/pgaudit/set_user/compare/REL2_0_0...REL2_0_1
- [Other]https://github.com/pgaudit/set_user/releases/tag/REL2_0_1
Related CVEs
Same vendor
- CVE-2021-41558 — The set_user extension module before 3.0.0 for PostgreSQL allows ProcessUtility_hook bypass via set_config (9.8 CRITICAL)
Same CWE
- CVE-2024-38487 — api-gateway container running with root privilege would allow an attacker to escape the container and access host system to perform unint... (7.0 HIGH)
- CVE-2026-12313 — Information disclosure, sandbox escape in the Security: Process Sandboxing component (4.7 MEDIUM)
- CVE-2026-12289 — Privilege escalation in the Graphics: WebRender component (8.8 HIGH)
- CVE-2026-8176 — The LatePoint – Calendar Booking Plugin for Appointments and Events plugin for WordPress is vulnerable to Privilege Escalation to Adminis... (7.5 HIGH)
- CVE-2025-9912 — Nokia SR Linux is vulnerable to a local privilege escalation vulnerability (6.3 MEDIUM)