CVE-2017-1000082
systemd: fails to parse usernames that start with digits
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium).
Description
systemd v233 and earlier fails to safely parse usernames starting with a numeric digit (e.g. "0day"), running the service in question with root privileges rather than the user intended.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 2.0 | systemd | 233-9.ph2 |
| debian 11 | systemd | 234-1 |
| debian 12 | systemd | 234-1 |
| debian 13 | systemd | 234-1 |
| debian 14 | systemd | 234-1 |
| echo | systemd | 234-1 |
| root.io debian 12 | rootio-systemd | 234-1 |
| root.io debian 13 | rootio-systemd | 234-1 |
References
- http://www.openwall.com/lists/oss-security/2017/07/02/1
- http://www.securityfocus.com/bid/99507
- http://www.securitytracker.com/id/1038839
- https://access.redhat.com/security/cve/CVE-2017-1000082
- https://github.com/systemd/systemd/issues/6237
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000082
- https://www.cve.org/CVERecord?id=CVE-2017-1000082