Every CVE Search/ Get API key

CVE-2017-12424

In shadow before 4.5, the newusers tool could be made to manipulate internal data structures in...

9.8 CriticalFix available

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

2.66%Up 1.6 points since Apr 14, 2021
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
9.8 CriticalCVSS: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

Affected packages
PackageAffectedFixed
shadow
Alpine:v3.10
before 4.5-r0
4.5-r0
shadow
Alpine:v3.11
before 4.5-r0
4.5-r0
shadow
Alpine:v3.12
before 4.5-r0
4.5-r0
shadow
Alpine:v3.13
before 4.5-r0
4.5-r0
shadow
Alpine:v3.14
before 4.5-r0
4.5-r0
shadow
Alpine:v3.15
before 4.5-r0
4.5-r0
shadow
Alpine:v3.16
before 4.5-r0
4.5-r0
shadow
Alpine:v3.17
before 4.5-r0
4.5-r0
shadow
Alpine:v3.18
before 4.5-r0
4.5-r0
shadow
Alpine:v3.19
before 4.5-r0
4.5-r0
Show 29 moreShow less
Affected packages
PackageAffectedFixed
shadow
Alpine:v3.20
before 4.5-r0
4.5-r0
shadow
Alpine:v3.21
before 4.5-r0
4.5-r0
shadow
Alpine:v3.22
before 4.5-r0
4.5-r0
shadow
Alpine:v3.23
before 4.5-r0
4.5-r0
shadow
Alpine:v3.24
before 4.5-r0
4.5-r0
shadow
Alpine:v3.7
before 4.5-r0
4.5-r0
shadow
Alpine:v3.8
before 4.5-r0
4.5-r0
shadow
Alpine:v3.9
before 4.5-r0
4.5-r0
login
TuxCare:Ubuntu:16.04
before 1:4.2-3.1ubuntu5.5+tuxcare.els1
1:4.2-3.1ubuntu5.5+tuxcare.els1
passwd
TuxCare:Ubuntu:16.04
before 1:4.2-3.1ubuntu5.5+tuxcare.els1
1:4.2-3.1ubuntu5.5+tuxcare.els1
uidmap
TuxCare:Ubuntu:16.04
before 1:4.2-3.1ubuntu5.5+tuxcare.els1
1:4.2-3.1ubuntu5.5+tuxcare.els1
shadow-utils
TuxCare:OracleLinux:6
before 2:4.1.5.1-5.el6.tuxcare.els1
2:4.1.5.1-5.el6.tuxcare.els1
shadow-utils
TuxCare:CentOS:6
before 2:4.1.5.1-5.el6.tuxcare.els1
2:4.1.5.1-5.el6.tuxcare.els1
shadow
Debian:12
before 1:4.5-1
1:4.5-1
shadow
Debian:13
before 1:4.5-1
1:4.5-1
shadow
Debian:14
before 1:4.5-1
1:4.5-1
shadow
Debian:9
before 1:4.4-4.1+deb9u1, plus listed versions
1:4.4-4.1
1:4.4-4.1+deb9u1
shadow-utils
Mageia:5
before 4.2.1-6.1.mga5
4.2.1-6.1.mga5
shadow-utils
Mageia:6
before 4.4-1.1.mga6
4.4-1.1.mga6
shadow
SUSE:Linux Enterprise Desktop 12 SP2
before 4.2.1-27.3.3
4.2.1-27.3.3
shadow
SUSE:Linux Enterprise Desktop 12 SP3
before 4.2.1-27.3.3
4.2.1-27.3.3
shadow
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 4.2.1-27.3.3
4.2.1-27.3.3
shadow
SUSE:Linux Enterprise Server 12 SP2
before 4.2.1-27.3.3
4.2.1-27.3.3
shadow
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 4.2.1-27.3.3
4.2.1-27.3.3
shadow
SUSE:Linux Enterprise Server 12 SP3
before 4.2.1-27.3.3
4.2.1-27.3.3
shadow
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 4.2.1-27.3.3
4.2.1-27.3.3
shadow
Ubuntu: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
shadow
Ubuntu: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 less
1: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
shadow
Ubuntu: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

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE 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

Show 19 moreShow less
MoveEnter Open