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.
[
{
"id": "CVE-2019-15901-37cc6403",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"257018084219185830283189870846042186451",
"263298338661025237681855152090152291472",
"244465731727258627921882727482949357179",
"240392789334711037839660733709662652480",
"318302556276251466072957026995482253703",
"334770976537425838896833539275400219885",
"144114532411389305376620096985217832909",
"73301086098618445718506707714661862641",
"238491780293075423002916085271141572710",
"283407144815843603917628835820737147263",
"294481694951028940687679809539951880275",
"254365220151682927526214587906755972702",
"141506775240760496158604477182184919853"
],
"threshold": 0.9
},
"target": {
"file": "doas.c"
},
"source": "https://github.com/slicer69/doas/commit/6cf0236184ff6304bf5e267ccf7ef02874069697"
},
{
"id": "CVE-2019-15901-cede907b",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 5351.0,
"function_hash": "229816150909773915025832948416141121373"
},
"target": {
"function": "main",
"file": "doas.c"
},
"source": "https://github.com/slicer69/doas/commit/6cf0236184ff6304bf5e267ccf7ef02874069697"
}
]