What’s Vulnerable › Vulnerabilities
CVE-2019-15901
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-10-18 · updated 2026-06-17
- Weakness: CWE-269
Description
An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. A setusercontext(3) call with flags to change the UID, primary GID, and secondary GIDs was replaced (on certain platforms: Linux and possibly NetBSD) with a single setuid(2) call. This resulted in neither changing the group id nor initializing secondary group ids.
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/6cf0236184ff6304bf5e267ccf7ef02874069697
- https://github.com/slicer69/doas/compare/6.1p1...6.2
- https://github.com/slicer69/doas/pull/23
- https://github.com/slicer69/doas/commit/6cf0236184ff6304bf5e267ccf7ef02874069697
- https://github.com/slicer69/doas/compare/6.1p1...6.2
- https://github.com/slicer69/doas/pull/23
Get alerted when CVE-2019-15901 or the next vulnerability affects your stack