CVEfocus › CVE database › CVE-2023-29383

CVE-2023-29383

CVSS 3.3 LowEPSS 0.5% (higher than 36% of CVEs)Published 2023-04-14Updated 2026-10-14Assigner: mitre

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.

CWE-125

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
5Fix pending
48Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04shadowNot affected
vulnerable_code_not_present
Ubuntu 25.10shadowNot affected
vulnerable_code_not_present
Ubuntu 24.04shadowNot affected
vulnerable_code_not_present
Ubuntu 22.04shadowFix pendingUBUNTU-CVE-2023-29383
Ubuntu 20.04shadowFix pendingUBUNTU-CVE-2023-29383
Ubuntu 18.04shadowFix pendingUBUNTU-CVE-2023-29383
Ubuntu 16.04shadowFix pendingUBUNTU-CVE-2023-29383
Ubuntu 14.04shadowFix pendingUBUNTU-CVE-2023-29383
Debian 14shadowFixed1:4.13+dfsg1-2DEBIAN-CVE-2023-29383
Debian 13shadowFixed1:4.13+dfsg1-2DEBIAN-CVE-2023-29383
Debian 12shadowFixed1:4.13+dfsg1-1+deb12u1DEBIAN-CVE-2023-29383
Red Hat Enterprise Linux 9libblkidNot affected
Red Hat Enterprise Linux 9libblkid-develNot affected
Red Hat Enterprise Linux 9libfdiskNot affected
Red Hat Enterprise Linux 9libfdisk-develNot affected
Red Hat Enterprise Linux 9libmountNot affected
Red Hat Enterprise Linux 9libmount-develNot affected
Red Hat Enterprise Linux 9libsmartcolsNot affected
Red Hat Enterprise Linux 9libsmartcols-develNot affected
Red Hat Enterprise Linux 9libuuidNot affected
Red Hat Enterprise Linux 9libuuid-develNot affected
Red Hat Enterprise Linux 9python3-libmountNot affected
Red Hat Enterprise Linux 9shadow-utilsNot affected
Red Hat Enterprise Linux 9shadow-utils-subidNot affected
Red Hat Enterprise Linux 9shadow-utils-subid-develNot affected
Red Hat Enterprise Linux 9util-linuxNot affected
Red Hat Enterprise Linux 9util-linux-coreNot affected
Red Hat Enterprise Linux 9util-linux-userNot affected
Red Hat Enterprise Linux 9uuiddNot affected
Red Hat Enterprise Linux 8libblkidNot affected
Red Hat Enterprise Linux 8libblkid-develNot affected
Red Hat Enterprise Linux 8libfdiskNot affected
Red Hat Enterprise Linux 8libfdisk-develNot affected
Red Hat Enterprise Linux 8libmountNot affected
Red Hat Enterprise Linux 8libmount-develNot affected
Red Hat Enterprise Linux 8libsmartcolsNot affected
Red Hat Enterprise Linux 8libsmartcols-develNot affected
Red Hat Enterprise Linux 8libuuidNot affected
Red Hat Enterprise Linux 8libuuid-develNot affected
Red Hat Enterprise Linux 8python3-libmountNot affected
Red Hat Enterprise Linux 8shadow-utilsNot affected
Red Hat Enterprise Linux 8shadow-utils-subidNot affected
Red Hat Enterprise Linux 8shadow-utils-subid-develNot affected
Red Hat Enterprise Linux 8util-linuxNot affected
Red Hat Enterprise Linux 8util-linux-userNot affected
Red Hat Enterprise Linux 8uuiddNot affected
Red Hat Enterprise Linux 7libblkidNot affected
Red Hat Enterprise Linux 7libblkid-develNot affected
Red Hat Enterprise Linux 7libmountNot affected
Red Hat Enterprise Linux 7libmount-develNot affected
Red Hat Enterprise Linux 7libuuidNot affected
Red Hat Enterprise Linux 7libuuid-develNot affected
Red Hat Enterprise Linux 7shadow-utilsNot affected
Red Hat Enterprise Linux 7util-linuxNot affected
Red Hat Enterprise Linux 7uuiddNot affected
Red Hat Enterprise Linux 6shadow-utilsNot affected
Alpine Linux 3.24shadowFixed4.13-r4ALPINE-CVE-2023-29383
Alpine Linux 3.23shadowFixed4.13-r4ALPINE-CVE-2023-29383
Alpine Linux 3.22shadowFixed4.13-r4ALPINE-CVE-2023-29383
Alpine Linux 3.21shadowFixed4.13-r4ALPINE-CVE-2023-29383
Alpine Linux 3.20shadowFixed4.13-r4ALPINE-CVE-2023-29383
Alpine Linux 3.19shadowFixed4.13-r4ALPINE-CVE-2023-29383
Alpine Linux 3.18shadowFixed4.13-r3ALPINE-CVE-2023-29383

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.