VULNERABILITY INTELLIGENCE
CVE-2019-15900
CVSS score9.8 CRITICAL
EPSS probability2.11%
CISA KEVNot currently listed
Published2019-10-18
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- CWE-252: Unchecked Return Value
- CWE-754: Improper Check for Unusual or Exceptional Conditions
- CWE-863: Incorrect Authorization
- CWE-908: Use of Uninitialized Resource
Primary references
- cve@mitre.org — Patch
- cve@mitre.org — Release Notes
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes