Skip to content
OpenAdvisories
Unscored CVE-2023-29383 EUVD-2023-32955GHSA-p9w4-8hh8-crcx

In Shadow 4.13, it is possible to inject control characters into fields provided to the SUID program chfn (change finger). Although it is n…

Published Apr 14, 2023 · Updated Oct 14, 2026 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 shadow 1:4.13+dfsg1-2 —
Debian 13 shadow 1:4.13+dfsg1-2 —
Debian 12 shadow 1:4.13+dfsg1-1+deb12u1 —
Debian 11 shadow 1:4.8.1-1+deb11u1 DLA-4130-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS shadow No fix yet —
Ubuntu 20.04 LTS shadow No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS shadow No fix yet —
Ubuntu Pro 16.04 LTS shadow No fix yet —
Ubuntu Pro 14.04 LTS shadow No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP4 shadow 4.8.1-150400.10.6.1 SUSE-SU-2023:2066-1
SLES 15 SP3 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SLES 15 SP2 shadow 4.6-150100.3.8.1 SUSE-SU-2023:2068-1
SLES 15 SP1 shadow 4.6-150100.3.8.1 SUSE-SU-2023:2068-1
SLES 12 SP5 shadow 4.2.1-36.3.1 SUSE-SU-2023:2067-1
Show 22 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 shadow 4.2.1-27.22.1 SUSE-SU-2023:2069-1
SLES 12 SP2 shadow 4.2.1-27.22.1 SUSE-SU-2023:2069-1
SLES for SAP 15 SP3 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SLES for SAP 15 SP2 shadow 4.6-150100.3.8.1 SUSE-SU-2023:2068-1
SLES for SAP 15 SP1 shadow 4.6-150100.3.8.1 SUSE-SU-2023:2068-1
SLES for SAP 12 SP5 shadow 4.2.1-36.3.1 SUSE-SU-2023:2067-1
SLES for SAP 12 SP4 shadow 4.2.1-27.22.1 SUSE-SU-2023:2069-1
SLE Real Time 15 SP3 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SLE Micro 5.5 shadow 4.8.1-150500.3.3.1 SUSE-SU-2024:1007-2, SUSE-SU-2024:1007-1
SLE Micro 5.4 shadow 4.8.1-150400.3.6.1 SUSE-SU-2024:0939-1
SLE Micro 5.3 shadow 4.8.1-150400.10.6.1 SUSE-SU-2023:2066-1
SLE Micro 5.2 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SLE Micro 5.1 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SLE HPC 15 SP3 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SLE HPC 15 SP2 shadow 4.6-150100.3.8.1 SUSE-SU-2023:2068-1
SLE HPC 15 SP1 shadow 4.6-150100.3.8.1 SUSE-SU-2023:2068-1
SUSE OpenStack Cloud Crowbar 9 shadow 4.2.1-27.22.1 SUSE-SU-2023:2069-1
SUSE OpenStack Cloud 9 shadow 4.2.1-27.22.1 SUSE-SU-2023:2069-1
SUSE Manager Server 4.2 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SUSE Manager Proxy 4.2 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SUSE Enterprise Storage 7.1 shadow 4.8.1-150300.4.6.1 SUSE-SU-2023:2070-1
SUSE Enterprise Storage 7 shadow 4.6-150100.3.8.1 SUSE-SU-2023:2068-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed shadow 4.13-6.1 openSUSE-SU-2024:12881-1
openSUSE Leap 15.4 shadow 4.8.1-150400.10.6.1 SUSE-SU-2023:2066-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 shadow 4.8.1-150400.3.6.1 SUSE-SU-2024:0939-1
openSUSE Leap Micro 5.3 shadow 4.8.1-150400.10.6.1 SUSE-SU-2023:2066-1
ReleasePackageFixed inAdvisory
Alpine v3.24 shadow 4.13-r4 —
Alpine v3.23 shadow 4.13-r4 —
Alpine v3.22 shadow 4.13-r4 —
Alpine v3.21 shadow 4.13-r4 —
Alpine v3.20 shadow 4.13-r4 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 shadow 4.13-r4 —
Alpine v3.18 shadow 4.13-r3 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) shadow-utils 4.9-13 —

Advisories 16

References