CVE-2017-12424
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in...
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
CVE-2017-12424- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
CVE-2017-12424- Updated
- 2026-11-02
EUVDEUVD-2017-3997 No score
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
EUVD-2017-3997- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mmpg-c26w-2pfg
9.8
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in...
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
GHSA-mmpg-c26w-2pfg- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-12424
9.8
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
ALPINE-CVE-2017-12424- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2017-12424
9.8
CVE-2017-12424 does not affect BellSoft software
- Record
BELL-CVE-2017-12424- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSV
9.8
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
CVE-2017-12424- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-12424
9.8
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
DEBIAN-CVE-2017-12424- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-12424
9.8
In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in ways unintended by the authors. Malformed input may lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors. This crosses a privilege boundary in, for example, certain web-hosting environments in which a Control Panel allows an unprivileged user account to create subaccounts.
- Record
UBUNTU-CVE-2017-12424- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2022-1643637259 No score
Fix CVE(s): CVE-2017-12424, CVE-2018-7169
- SECURITY UPDATE: Crash or buffer overflow
- debian/patches/CVE-2017-12424.patch: fix buffer overflow if NULL line is present in db in lib/commonio.c.
- CVE-2017-12424
- SECURITY UPDATE: Access to privileged information
- debian/patches/CVE-2018-7169.patch: newgidmap: enforce setgroups=deny if self-mapping a group in src/newgidmap.c.
- CVE-2018-7169
- Record
CLSA-2022-1643637259- Updated
- 2026-11-02
OSVCLSA-2026-1777945742 No score
shadow-utils: Fix of CVE-2017-12424
- CVE-2017-12424: fix heap buffer overflow in commonio_sort when an entry has a NULL line
- Record
CLSA-2026-1777945742- Updated
- 2026-11-02
OSVCLSA-2026-1777947090 No score
shadow-utils: Fix of CVE-2017-12424
- CVE-2017-12424: fix heap buffer overflow in commonio_sort when an entry has a NULL line
- Record
CLSA-2026-1777947090- Updated
- 2026-11-02
OSVMGASA-2017-0465 No score
Updated shadow-utils packages fix security vulnerability
It was found that shadow-utils had a buffer overflow where if a buffer was left NULL for a cycle the next cycle would happily write past the entries buffer (CVE-2017-12424).
- Record
MGASA-2017-0465- Updated
- 2026-11-02
OSVSUSE-SU-2017:2947-1 No score
Security update for shadow
This update for shadow fixes several issues.
This security issue was fixed:
- CVE-2017-12424: The newusers tool could have been forced to manipulate internal data structures in ways unintended by the authors. Malformed input may have lead to crashes (with a buffer overflow or other memory corruption) or other unspecified behaviors (bsc#1052261).
These non-security issues were fixed:
- bsc#1023895: Fixed man page to not contain invalid options and also prevent warnings when using these options in certain settings
- bsc#980486: Reset user in /var/log/tallylog because of the usage of pam_tally2
- Record
SUSE-SU-2017:2947-1- Updated
- 2026-11-02
OSVUSN-5254-1 No score
shadow vulnerabilities
It was discovered that shadow incorrectly handled certain inputs. An attacker could possibly use this issue to cause a crash or expose sensitive information. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2017-12424)
It was discovered that shadow incorrectly handled certain inputs. An attacker could possibly use this issue to expose sensitive information. (CVE-2018-7169)
- Record
USN-5254-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
shadowAlpine:v3.10 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.11 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.12 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.13 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.14 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.15 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.16 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.17 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.18 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.19 |
before 4.5-r0 | 4.5-r0 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
shadowAlpine:v3.20 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.21 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.22 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.23 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.24 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.7 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.8 |
before 4.5-r0 | 4.5-r0 |
shadowAlpine:v3.9 |
before 4.5-r0 | 4.5-r0 |
loginTuxCare:Ubuntu:16.04 |
before 1:4.2-3.1ubuntu5.5+tuxcare.els1 | 1:4.2-3.1ubuntu5.5+tuxcare.els1 |
passwdTuxCare:Ubuntu:16.04 |
before 1:4.2-3.1ubuntu5.5+tuxcare.els1 | 1:4.2-3.1ubuntu5.5+tuxcare.els1 |
uidmapTuxCare:Ubuntu:16.04 |
before 1:4.2-3.1ubuntu5.5+tuxcare.els1 | 1:4.2-3.1ubuntu5.5+tuxcare.els1 |
shadow-utilsTuxCare:OracleLinux:6 |
before 2:4.1.5.1-5.el6.tuxcare.els1 | 2:4.1.5.1-5.el6.tuxcare.els1 |
shadow-utilsTuxCare:CentOS:6 |
before 2:4.1.5.1-5.el6.tuxcare.els1 | 2:4.1.5.1-5.el6.tuxcare.els1 |
shadowDebian:12 |
before 1:4.5-1 | 1:4.5-1 |
shadowDebian:13 |
before 1:4.5-1 | 1:4.5-1 |
shadowDebian:14 |
before 1:4.5-1 | 1:4.5-1 |
shadowDebian:9 |
before 1:4.4-4.1+deb9u1, plus listed versions 1:4.4-4.1 |
1:4.4-4.1+deb9u1 |
shadow-utilsMageia:5 |
before 4.2.1-6.1.mga5 | 4.2.1-6.1.mga5 |
shadow-utilsMageia:6 |
before 4.4-1.1.mga6 | 4.4-1.1.mga6 |
shadowSUSE:Linux Enterprise Desktop 12 SP2 |
before 4.2.1-27.3.3 | 4.2.1-27.3.3 |
shadowSUSE:Linux Enterprise Desktop 12 SP3 |
before 4.2.1-27.3.3 | 4.2.1-27.3.3 |
shadowSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 4.2.1-27.3.3 | 4.2.1-27.3.3 |
shadowSUSE:Linux Enterprise Server 12 SP2 |
before 4.2.1-27.3.3 | 4.2.1-27.3.3 |
shadowSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 4.2.1-27.3.3 | 4.2.1-27.3.3 |
shadowSUSE:Linux Enterprise Server 12 SP3 |
before 4.2.1-27.3.3 | 4.2.1-27.3.3 |
shadowSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.2.1-27.3.3 | 4.2.1-27.3.3 |
shadowUbuntu:Pro:14.04:LTS |
before 1:4.1.5.1-1ubuntu9.5+esm1, plus listed versions 1:4.1.5.1-1ubuntu61:4.1.5.1-1ubuntu71:4.1.5.1-1ubuntu81:4.1.5.1-1ubuntu91:4.1.5.1-1ubuntu9.11:4.1.5.1-1ubuntu9.21:4.1.5.1-1ubuntu9.41:4.1.5.1-1ubuntu9.5 |
1:4.1.5.1-1ubuntu9.5+esm1 |
shadowUbuntu:Pro:16.04:LTS |
before 1:4.2-3.1ubuntu5.5+esm1, plus listed versions 1:4.1.5.1-1.1ubuntu71:4.2-3.1ubuntu11:4.2-3.1ubuntu21:4.2-3.1ubuntu31:4.2-3.1ubuntu4 Show 4 moreShow less1:4.2-3.1ubuntu51:4.2-3.1ubuntu5.21:4.2-3.1ubuntu5.31:4.2-3.1ubuntu5.4 |
1:4.2-3.1ubuntu5.5+esm1 |
shadowUbuntu:18.04:LTS |
before 1:4.5-1ubuntu2.2, plus listed versions 1:4.2-3.2ubuntu41:4.5-1ubuntu11:4.5-1ubuntu2 |
1:4.5-1ubuntu2.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-12424 is a critical vulnerability (CVSS 9.8) in Shadow Project Shadow, published August 4, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.66%, the 85th percentile. Fixed in shadow 4.5-r0.
References
bugs.debian.org/cgi-bin/bugreport.cgi?bug=756630
security.gentoo.org/glsa/201710-16
github.com/shadow-maint/shadow/commit/954e3d2e7113e9ac06632aee3c69b8d818cc8952
bugs.launchpad.net/ubuntu/+source/shadow/+bug/1266675
lists.debian.org/debian-lts-announce/2021/03/msg00020.html
nvd.nist.gov/vuln/detail/CVE-2017-12424
Show 19 moreShow less
github.com/advisories/GHSA-mmpg-c26w-2pfg
security.alpinelinux.org/vuln/CVE-2017-12424
docs.bell-sw.com/security/cves/CVE-2017-12424
errata.cloudlinux.com/ubuntu16_04/CLSA-2022-1643637259
errata.tuxcare.com/els_os/oraclelinux6els/CLSA-2026-1777945742.html
errata.tuxcare.com/els_os/centos6els/CLSA-2026-1777947090.html
security-tracker.debian.org/tracker/CVE-2017-12424
advisories.mageia.org/MGASA-2017-0465.html
bugs.mageia.org/show_bug.cgi?id=22010
lists.opensuse.org/opensuse-updates/2017-11/msg00030.html
suse.com/support/update/announcement/2017/suse-su-20172947-1
bugzilla.suse.com/1023895
bugzilla.suse.com/1052261
bugzilla.suse.com/980486
suse.com/security/cve/CVE-2017-12424
ubuntu.com/security/CVE-2017-12424
ubuntu.com/security/notices/USN-5254-1
cve.org/CVERecord?id=CVE-2017-12424
ubuntu.com/security/CVE-2018-7169