cve.bz

CVE-2023-29383 shadow project shadow: Injection

3.3 lowExploit referenceEPSS 0.4%Fix available

Low (3.3) in shadow project shadow. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-02-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
CWE-125 Out-of-bounds Read
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-29383 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-29383?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-29383?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-29383 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
shadow_project:shadow4.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11shadow1:4.8.1-1+deb11u1DLA-4130-1
Debian12shadow1:4.13+dfsg1-1+deb12u1DEBIAN-CVE-2023-29383
Debian13, 14shadow1:4.13+dfsg1-2DEBIAN-CVE-2023-29383
Ubuntu20.04:LTS, 22.04:LTS, Pro:14.04:LTS and 2 moreshadowno fix listedUBUNTU-CVE-2023-29383
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 4 moreshadow4.6-150100.3.8.1SUSE-SU-2023:2068-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 moreshadow4.8.1-150300.4.6.1SUSE-SU-2023:2070-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4shadow4.8.1-150400.10.6.1SUSE-SU-2023:2066-1
SUSELinux Enterprise Micro 5.4shadow4.8.1-150400.3.6.1SUSE-SU-2024:0939-1
SUSELinux Enterprise Micro 5.5shadow4.8.1-150500.3.3.1SUSE-SU-2024:1007-1 SUSE-SU-2024:1007-2
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS and 3 moreshadow4.2.1-27.22.1SUSE-SU-2023:2069-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5shadow4.2.1-36.3.1SUSE-SU-2023:2067-1
openSUSELeap 15.4, Leap Micro 5.3shadow4.8.1-150400.10.6.1SUSE-SU-2023:2066-1
openSUSELeap Micro 5.4shadow4.8.1-150400.3.6.1SUSE-SU-2024:0939-1
openSUSETumbleweedshadow4.13-6.1openSUSE-SU-2024:12881-1
Alpinev3.18shadow4.13-r3ALPINE-CVE-2023-29383
Alpinev3.19, v3.20, v3.21 and 3 moreshadow4.13-r4ALPINE-CVE-2023-29383
Azure Linux2shadow-utils4.9-13AZL-26247
Alpaquita23shadow4.13-r1BELL-CVE-2023-29383

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The chfn library is provided in Red Hat Enterprise Linux 7, 8, and 9 by util-linux package, and not by shadow-utils. Hence, the shadow-utils package is not vulnerable by this CVE.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6shadow-utilsNot affected
Red Hat Enterprise Linux 7shadow-utilsNot affected
Red Hat Enterprise Linux 7util-linuxNot affected
Red Hat Enterprise Linux 8shadow-utilsNot affected
Red Hat Enterprise Linux 8util-linuxNot affected
Red Hat Enterprise Linux 9shadow-utilsNot affected
Red Hat Enterprise Linux 9util-linuxNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-29383.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON