CVE-2019-15901 Privilege escalation in n/a
An attacker can gain unauthorized privileges because doas fails to set group IDs correctly on Linux and NetBSD platforms.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-15901?
CVE-2019-15901 is a high-severity vulnerability in n/a, published on 18 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-269
Which versions are affected by CVE-2019-15901?
It affects 1 product.
Products include Doas Project Doas.
How do I fix CVE-2019-15901?
No fix has been published for CVE-2019-15901 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-15901 being exploited?
There is no known exploitation of CVE-2019-15901 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-87h5-jxx9-3c5x.