{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-56433 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-56433 is a low-severity vulnerability in shadow-maint shadow-utils, published on 26 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-56433 and fix it if it is affected.\n\nWhat it is: CVE-2024-56433 is a low-severity vulnerability in shadow-maint shadow-utils, published on 26 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-56433 in the wild and no public exploit code.\n\nAffected product: shadow-maint shadow-utils. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-56433/ (Markdown: https://insights.sbomify.com/CVE-2024-56433/index.md)","id":"CVE-2024-56433","markdown":"https://insights.sbomify.com/CVE-2024-56433/index.md","name":"CVE-2024-56433","record":{"aliases":["ALSA-2025:20145","ALSA-2025:20559","AZL-54674","BELL-CVE-2024-56433","DEBIAN-CVE-2024-56433","GHSA-7683-vm2j-m4cc","RHSA-2025:20145","RHSA-2025:20559","RLSA-2025:20145","RLSA-2025:20559","UBUNTU-CVE-2024-56433"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux shadow utilities","requires_auth":"low_privilege","summary":"Default subuid ranges in shadow-utils can conflict with local network UIDs, allowing attackers to escalate privileges or take over accounts via NFS or remote logins.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":3.6,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"description":"shadow-utils (aka shadow) 4.4 through 4.17.0 establishes a default /etc/subuid behavior (e.g., uid 100000 through 165535 for the first user account) that can realistically conflict with the uids of users defined on locally administered networks, potentially leading to account takeover, e.g., by leveraging newuidmap for access to an NFS home directory (or same-host resources in the case of remote logins by these local network users). NOTE: it may also be argued that system administrators should not have assigned uids, within local networks, that are within the range that can occur in /etc/subuid.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Rocky Linux:10","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":"2025-01-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-01-03T13:11:25Z","kind":"github_poc","ref":"https://github.com/JonnyWhatshisface/CVE-2024-56433","stars":0,"title":"CVE-2024-56433 - shadow-utils Default subordinate ID for local users creates risk of collision"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Privilege escalation in shadow-utils","id":"CVE-2024-56433","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":23,"n_references":3,"next":{"headline":"Use after free in EMUI","id":"CVE-2024-56434"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils","purl":"pkg:rpm/almalinux/shadow-utils","source":"ALSA-2025:20145"},{"ecosystem":"AlmaLinux:10","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid","purl":"pkg:rpm/almalinux/shadow-utils-subid","source":"ALSA-2025:20145"},{"ecosystem":"AlmaLinux:10","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid-devel","purl":"pkg:rpm/almalinux/shadow-utils-subid-devel","source":"ALSA-2025:20145"},{"ecosystem":"AlmaLinux:9","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils","purl":"pkg:rpm/almalinux/shadow-utils","source":"ALSA-2025:20559"},{"ecosystem":"AlmaLinux:9","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid","purl":"pkg:rpm/almalinux/shadow-utils-subid","source":"ALSA-2025:20559"},{"ecosystem":"AlmaLinux:9","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid-devel","purl":"pkg:rpm/almalinux/shadow-utils-subid-devel","source":"ALSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils","purl":"pkg:rpm/redhat/shadow-utils","source":"RHSA-2025:20145"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-debuginfo","purl":"pkg:rpm/redhat/shadow-utils-debuginfo","source":"RHSA-2025:20145"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-debugsource","purl":"pkg:rpm/redhat/shadow-utils-debugsource","source":"RHSA-2025:20145"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid","purl":"pkg:rpm/redhat/shadow-utils-subid","source":"RHSA-2025:20145"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid-debuginfo","purl":"pkg:rpm/redhat/shadow-utils-subid-debuginfo","source":"RHSA-2025:20145"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid-devel","purl":"pkg:rpm/redhat/shadow-utils-subid-devel","source":"RHSA-2025:20145"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils","purl":"pkg:rpm/redhat/shadow-utils","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-debuginfo","purl":"pkg:rpm/redhat/shadow-utils-debuginfo","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-debugsource","purl":"pkg:rpm/redhat/shadow-utils-debugsource","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid","purl":"pkg:rpm/redhat/shadow-utils-subid","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid-debuginfo","purl":"pkg:rpm/redhat/shadow-utils-subid-debuginfo","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-debuginfo","purl":"pkg:rpm/redhat/shadow-utils-debuginfo","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-debugsource","purl":"pkg:rpm/redhat/shadow-utils-debugsource","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid-debuginfo","purl":"pkg:rpm/redhat/shadow-utils-subid-debuginfo","source":"RHSA-2025:20559"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils-subid-devel","purl":"pkg:rpm/redhat/shadow-utils-subid-devel","source":"RHSA-2025:20559"},{"ecosystem":"Rocky Linux:10","fixed":["2:4.15.0-8.el10"],"introduced":["0"],"last_affected":[],"package":"shadow-utils","purl":"pkg:rpm/rocky-linux/shadow-utils?distro=rocky-linux-10\u0026epoch=2","source":"RLSA-2025:20145"},{"ecosystem":"Rocky Linux:9","fixed":["2:4.9-15.el9"],"introduced":["0"],"last_affected":[],"package":"shadow-utils","purl":"pkg:rpm/rocky-linux/shadow-utils?distro=rocky-linux-9\u0026epoch=2","source":"RLSA-2025:20559"}],"prev":{"headline":"Other in n/a","id":"CVE-2024-56431"},"products":["shadow-utils"],"published":"2024-12-26","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["shadow-maint"]},"summary":"Default subuid ranges in shadow-utils can conflict with local network UIDs, allowing attackers to escalate privileges or take over accounts via NFS or remote logins.","url":"https://insights.sbomify.com/CVE-2024-56433/"}