CVEvulnerability
CVE-2019-15901
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-10-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 9.0 HIGH — AV:N/AC:L/Au:S/C:C/I:C/A:C
- Weaknesses
- 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 configurations
• doas project doas (< 6.2)
Related
Weakness · CWE (1)
- CWE-269 Improper Privilege Management weakness
References
- https://github.com/slicer69/doas/commit/6cf0236184ff6304bf5e267ccf7ef02874069697 Patch, Third Party Advisory
- https://github.com/slicer69/doas/compare/6.1p1...6.2 Patch, Release Notes, Third Party Advisory
- https://github.com/slicer69/doas/pull/23 Exploit, Third Party Advisory
- https://github.com/slicer69/doas/commit/6cf0236184ff6304bf5e267ccf7ef02874069697 Patch, Third Party Advisory
- https://github.com/slicer69/doas/compare/6.1p1...6.2 Patch, Release Notes, Third Party Advisory
- https://github.com/slicer69/doas/pull/23 Exploit, Third Party Advisory