CVE-2021-38140

Source
https://cve.org/CVERecord?id=CVE-2021-38140
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38140.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-38140
Published
2021-08-10T18:15:07.263Z
Modified
2026-03-14T11:04:48.372305Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The setuser extension module before 2.0.1 for PostgreSQL allows a potential privilege escalation using RESET SESSION AUTHORIZATION after setuser().

References

Affected packages

Git / github.com/pgaudit/set_user

Affected ranges

Type
GIT
Repo
https://github.com/pgaudit/set_user
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.0.1"
        }
    ]
}

Affected versions

Other
REL1_0_0
REL1_0_1
REL1_1_0
REL1_2_0
REL1_3_0
REL1_4_0
REL1_5_0
REL1_6_0
REL1_6_1
REL1_6_2
REL1_6_2-rc
REL2_0_0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38140.json"