{"api_version":"1","generated_at":"2026-07-23T18:38:48+00:00","cve":"CVE-2023-29383","urls":{"html":"https://cve.report/CVE-2023-29383","api":"https://cve.report/api/cve/CVE-2023-29383.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-29383","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-29383"},"summary":{"title":"CVE-2023-29383","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-04-14 22:15:00","updated_at":"2023-04-24 18:05:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"https://github.com/shadow-maint/shadow/pull/687","name":"https://github.com/shadow-maint/shadow/pull/687","refsource":"MISC","tags":[],"title":"Control character check by tomspiderlabs · Pull Request #687 · shadow-maint/shadow · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/","name":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/","refsource":"MISC","tags":[],"title":"CVE-2023-29383: Abusing Linux chfn to Misrepresent etc passwd | Trustwave","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797","name":"https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d","name":"https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d","refsource":"MISC","tags":[],"title":"Added control character check · shadow-maint/shadow@e5905c4 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-29383","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29383","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"29383","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shadow_project","cpe5":"shadow","cpe6":"4.13","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-29383","qid":"503267","title":"Alpine Linux Security Update for shadow"},{"cve":"CVE-2023-29383","qid":"506239","title":"Alpine Linux Security Update for shadow"},{"cve":"CVE-2023-29383","qid":"673177","title":"EulerOS Security Update for shadow (EulerOS-SA-2023-2343)"},{"cve":"CVE-2023-29383","qid":"673183","title":"EulerOS Security Update for shadow (EulerOS-SA-2023-2323)"},{"cve":"CVE-2023-29383","qid":"673219","title":"EulerOS Security Update for shadow (EulerOS-SA-2023-2368)"},{"cve":"CVE-2023-29383","qid":"673230","title":"EulerOS Security Update for shadow (EulerOS-SA-2023-2394)"},{"cve":"CVE-2023-29383","qid":"673982","title":"EulerOS Security Update for shadow (EulerOS-SA-2023-2668)"},{"cve":"CVE-2023-29383","qid":"674054","title":"EulerOS Security Update for shadow (EulerOS-SA-2023-2710)"},{"cve":"CVE-2023-29383","qid":"753953","title":"SUSE Enterprise Linux Security Update for shadow (SUSE-SU-2023:2070-1)"},{"cve":"CVE-2023-29383","qid":"753954","title":"SUSE Enterprise Linux Security Update for shadow (SUSE-SU-2023:2069-1)"},{"cve":"CVE-2023-29383","qid":"753955","title":"SUSE Enterprise Linux Security Update for shadow (SUSE-SU-2023:2068-1)"},{"cve":"CVE-2023-29383","qid":"753956","title":"SUSE Enterprise Linux Security Update for shadow (SUSE-SU-2023:2067-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2023-29383","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/shadow-maint/shadow/pull/687","refsource":"MISC","name":"https://github.com/shadow-maint/shadow/pull/687"},{"url":"https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d","refsource":"MISC","name":"https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d"},{"refsource":"MISC","name":"https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797","url":"https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=31797"},{"refsource":"MISC","name":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/","url":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/cve-2023-29383-abusing-linux-chfn-to-misrepresent-etc-passwd/"}]}},"nvd":{"publishedDate":"2023-04-14 22:15:00","lastModifiedDate":"2023-04-24 18:05:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW"},"exploitabilityScore":1.8,"impactScore":1.4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:shadow_project:shadow:4.13:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}