What’s Vulnerable › Vulnerabilities
CVE-2019-15900
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-10-18 · updated 2026-06-17
- Weakness: CWE-252
Description
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.
Affected products
- Doas Project Doas: before 6.2 — fixed in 6.2
How to fix
Upgrade to a fixed version: Doas Project Doas 6.2. Check the vendor advisory for mitigations.
References
- https://github.com/slicer69/doas/commit/2f83222829448e5bc4c9391d607ec265a1e06531
- https://github.com/slicer69/doas/compare/6.1p1...6.2
- https://github.com/slicer69/doas/commit/2f83222829448e5bc4c9391d607ec265a1e06531
- https://github.com/slicer69/doas/compare/6.1p1...6.2
Get alerted when CVE-2019-15900 or the next vulnerability affects your stack