Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-12424

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-12424
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:11 UTC · Revision 1

Source evidence

CVE-2017-12424

core-osv · Original source

Published 4 Aug 2017, 09:29 UTC

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.

osv:CVE-2017-12424
Complete source record
{
  "id": "318180bdf42a2b0fa98c0f454e15036d7464907e53029327ebf8b072e0a596c5",
  "url": "https://osv.dev/vulnerability/CVE-2017-12424",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-12424",
    "summary": "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.",
    "evidence": "osv:CVE-2017-12424",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-12424",
      "aliases": [
        "CVE-2017-12424"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/shadow-maint/shadow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "15be89f89d553c06d52453721ee8e9a8433cfdfd"
                },
                {
                  "fixed": "954e3d2e7113e9ac06632aee3c69b8d818cc8952"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:shadow_project:shadow:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "954e3d2e7113e9ac06632aee3c69b8d818cc8952"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.4",
            "4.3.1",
            "4.3.0",
            "4.2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12424.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-12424-03cfbe43",
                "digest": {
                  "length": 1301,
                  "function_hash": "202960249321229963769209149281777145406"
                },
                "source": "https://github.com/shadow-maint/shadow/commit/954e3d2e7113e9ac06632aee3c69b8d818cc8952",
                "target": {
                  "file": "lib/commonio.c",
                  "function": "commonio_sort"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-12424-edcd3aea",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "97343475326322419711596104090918875231",
                    "83194384294095812938514171149688776297",
                    "49828281674662981068131804184564246995",
                    "227046944271181385809801992820021682302",
                    "1653437717679775265908824231283286026",
                    "214632539084617417013768092814222728552",
                    "318040977496812136268312631380998312745",
                    "353291072014180465658511793697293332",
                    "109635299101909868755650757144999621569",
                    "173175273233810461831180419687946402416",
                    "157547641036649591868026189959014193376",
                    "57750577214612977192018795620048358807",
                    "89344191378839295817891035874517221208"
                  ]
                },
                "source": "https://github.com/shadow-maint/shadow/commit/954e3d2e7113e9ac06632aee3c69b8d818cc8952",
                "target": {
                  "file": "lib/commonio.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:19:01Z"
          }
        }
      ],
      "modified": "2026-10-20T13:19:01.342983601Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html",
        "https://security.gentoo.org/glsa/201710-16",
        "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756630",
        "https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1266675",
        "https://github.com/shadow-maint/shadow/commit/954e3d2e7113e9ac06632aee3c69b8d818cc8952"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-12424",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387490,
  "published_at": "2017-08-04T09:29:00.187+00:00"
}