Auth bypass in Doas Project
CVE-2019-15900
An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. On platforms without strtonum(3), sscanf was used without checking for error cases. Instead, the uninitialized variable errstr was checked and in some cases returned success even if sscanf failed. The result was that, instead of reporting that the supplied username or group name did not exist, it would execute the command as root.
EPSS: 0.021 (79.9th 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
- Doas_project Doas
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Patch, x_refsource_MISC)
- cve@mitre.org (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2019-15900?
- CVE-2019-15900 is a critical-severity vulnerability in Doas Project, classified under CWE-252. CVSS score: 9.8/10. Published 2019-10-18.
- How severe is CVE-2019-15900?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2019-15900 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.