Privilege escalation in Set User Project

CVE-2021-38140

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

Vulnerability class: Privilege Escalation

EPSS: 0.013 (67.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory, Release Notes)

Frequently asked questions

What is CVE-2021-38140?
CVE-2021-38140 is a critical-severity vulnerability in Set User Project, classified under Improper Privilege Management. CVSS score: 9.8/10. Published 2021-08-10.
How severe is CVE-2021-38140?
Critical severity. CVSS v3 base score is 9.8 out of 10.