CVE-2023-29383
CVE-2023-29383
This page contains facts from public vulnerability sources. Check the original advisory before updating.
In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change finger). Although it is not possible to exploit this directly (e.g., adding a new user fails because \n is in the block list), it is possible to misrepresent the /etc/passwd file when viewed. Use of \r manipulations and Unicode characters to work around blocking of the : character make it possible to give the impression that a new user has been added. In other words, an adversary may be able to convince a system administrator to take the system offline (an indirect, social-engineered denial of service) by demonstrating that "cat /etc/passwd" shows a rogue user account.
CVSS 3.3 · Low · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
shadow Debian:12
- Versions
- 1:4.13+dfsg1-1
- Affected ranges
- ECOSYSTEM: < 1:4.13+dfsg1-1+deb12u1
Update to 1:4.13+dfsg1-1+deb12u1
shadow Debian:13
- Affected ranges
- ECOSYSTEM: < 1:4.13+dfsg1-2
Update to 1:4.13+dfsg1-2
shadow Debian:14
- Affected ranges
- ECOSYSTEM: < 1:4.13+dfsg1-2
Update to 1:4.13+dfsg1-2
shadow Ubuntu:Pro:14.04:LTS
- Versions
- 1:4.1.5.1-1ubuntu6
- 1:4.1.5.1-1ubuntu7
- 1:4.1.5.1-1ubuntu8
- 1:4.1.5.1-1ubuntu9
- 1:4.1.5.1-1ubuntu9.1
- 1:4.1.5.1-1ubuntu9.2
- 1:4.1.5.1-1ubuntu9.4
- 1:4.1.5.1-1ubuntu9.5
- 1:4.1.5.1-1ubuntu9.5+esm1
- 1:4.1.5.1-1ubuntu9.5+esm2
- 1:4.1.5.1-1ubuntu9.5+esm3
- 1:4.1.5.1-1ubuntu9.5+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
shadow Ubuntu:Pro:16.04:LTS
- Versions
- 1:4.1.5.1-1.1ubuntu7
- 1:4.2-3.1ubuntu1
- 1:4.2-3.1ubuntu2
- 1:4.2-3.1ubuntu3
- 1:4.2-3.1ubuntu4
- 1:4.2-3.1ubuntu5
- 1:4.2-3.1ubuntu5.2
- 1:4.2-3.1ubuntu5.3
- 1:4.2-3.1ubuntu5.4
- 1:4.2-3.1ubuntu5.5+esm1
- 1:4.2-3.1ubuntu5.5+esm2
- 1:4.2-3.1ubuntu5.5+esm3
- 1:4.2-3.1ubuntu5.5+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
shadow Ubuntu:Pro:18.04:LTS
- Versions
- 1:4.2-3.2ubuntu4
- 1:4.5-1ubuntu1
- 1:4.5-1ubuntu2
- 1:4.5-1ubuntu2.2
- 1:4.5-1ubuntu2.3
- 1:4.5-1ubuntu2.4
- 1:4.5-1ubuntu2.5
- 1:4.5-1ubuntu2.5+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
shadow Ubuntu:20.04:LTS
- Versions
- 1:4.5-1.1ubuntu4
- 1:4.8-1ubuntu1
- 1:4.8.1-1ubuntu1
- 1:4.8.1-1ubuntu2
- 1:4.8.1-1ubuntu3
- 1:4.8.1-1ubuntu4
- 1:4.8.1-1ubuntu5
- 1:4.8.1-1ubuntu5.20.04
- 1:4.8.1-1ubuntu5.20.04.1
- 1:4.8.1-1ubuntu5.20.04.2
- 1:4.8.1-1ubuntu5.20.04.3
- 1:4.8.1-1ubuntu5.20.04.4
- 1:4.8.1-1ubuntu5.20.04.5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
shadow Ubuntu:22.04:LTS
- Versions
- 1:4.8.1-1ubuntu9
- 1:4.8.1-1ubuntu10
- 1:4.8.1-2ubuntu1
- 1:4.8.1-2ubuntu2
- 1:4.8.1-2ubuntu2.1
- 1:4.8.1-2ubuntu2.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/shadow-maint/shadow/pull/687
- https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d
- https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797
- https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/
- https://lists.debian.org/debian-lts-announce/2025/04/msg00026.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-202008.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-29383