# CVE-2023-29383: In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change finger).

- Severity: Low 3.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-04-14T00:00:00.000Z
- Modified: 2026-10-14T23:17:17.783Z
- Weaknesses: CWE-74, CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- shadow_project shadow: 4.13

## References

- <https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797> (exploit, third-party-advisory)
- <https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/> (exploit, third-party-advisory)
- <https://github.com/shadow-maint/shadow/pull/687> (issue-tracking)
- <https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d> (patch)
- <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>

## Sources

- CVE List: [CVE-2023-29383](https://www.cve.org/CVERecord?id=CVE-2023-29383), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-29383](https://nvd.nist.gov/vuln/detail/CVE-2023-29383), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2023-29383 · Whole record: https://cve.day/CVE-2023-29383.json · Rebuilt by cve.day 2026-11-25T22:58:23.518Z
