Description
Multiple CRLF injection vulnerabilities in (1) chfn and (2) chsh in shadow 1:4.1.4 allow local users to add new users or groups to /etc/passwd via the GECOS field.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | shadow | 1:4.1.4.2+svn3283-3 | — |
| Debian 13 | shadow | 1:4.1.4.2+svn3283-3 | — |
| Debian 12 | shadow | 1:4.1.4.2+svn3283-3 | — |
| Debian 6.0 | shadow | 1:4.1.4.2+svn3283-2+squeeze1 | DSA-2164-1 |
Advisories 1
- DSA-2164-1 shadow - missing input sanitization Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2011-0398 vdb-entry
- ADV-2011-0773 vdb-entry
- 43345 third-party-advisory
- DSA-2164 vendor-advisory
- USN-1065-1 vendor-advisory
- ADV-2011-0396 vdb-entry
- shadow-chfnchsh-crlf-injection(65564) vdb-entry
- 70895 vdb-entry
- 46426 vdb-entry
- SSA:2011-086-03 vendor-advisory
- 42505 third-party-advisory