RCE in PostgreSQL
CVE-2016-5424
PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote authenticated users with the CREATEDB or CREATEROLE role to gain superuser privileges via a (1) " (double quote), (2) \ (backslash), (3) carriage return, or (4) newline character in a (a) database or (b) role name that is mishandled during an administrative operation.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.046 (91.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.046 · newest: 0.046 · change: 0.000
Affected products
- PostgreSQL — versions 9.2, 9.2.1, 9.2.2
- Debian Linux — versions 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- rhn.redhat.com/errata/RHSA-2016-1781.html (vendor-advisory)
- www.postgresql.org/docs/current/static/release-9-4-9.html (Release Notes, Vendor Advisory)
- www.securitytracker.com/id/1036617 (VDB Entry, Third Party Advisory, vdb-entry)
- rhn.redhat.com/errata/RHSA-2016-1821.html (vendor-advisory)
- www.debian.org/security/2016/dsa-3646 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/201701-33 (vendor-advisory)
- access.redhat.com/errata/RHSA-2017:2425 (vendor-advisory)
- www.postgresql.org/docs/current/static/release-9-5-4.html (Release Notes, Vendor Advisory)
- www.postgresql.org/docs/current/static/release-9-3-14.html (Release Notes, Vendor Advisory)
- www.postgresql.org/about/news/1688/ (Patch, VDB Entry, Third Party Advisory)
Frequently asked questions
- What is CVE-2016-5424?
- CVE-2016-5424 is a high-severity vulnerability in PostgreSQL, classified under Code Injection. CVSS score: 7.1/10. Published 2016-12-09.
- How severe is CVE-2016-5424?
- High severity. CVSS v3 base score is 7.1 out of 10.
- Is CVE-2016-5424 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.