{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-43616 in the wild and no public exploit code.","fix":"No fix published yet.","what":"CVE-2021-43616 is a critical vulnerability in Fedoraproject Fedora, published on 13 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-43616 and fix it if it is affected.\n\nWhat it is: CVE-2021-43616 is a critical vulnerability in Fedoraproject Fedora, published on 13 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-43616 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. 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-2021-43616/ (Markdown: https://insights.sbomify.com/CVE-2021-43616/index.md)","id":"CVE-2021-43616","markdown":"https://insights.sbomify.com/CVE-2021-43616/index.md","name":"CVE-2021-43616","record":{"aliases":["ALSA-2022:4796","CLEANSTART-2026-FF52474","DEBIAN-CVE-2021-43616","GHSA-ppxp-px5q-gwqm","RHSA-2022:4796","RLSA-2022:4796","UBUNTU-CVE-2021-43616"],"analysis":{"component_type":"developer_tool","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"npm package manager","requires_auth":"none","summary":"npm ci installs dependencies despite lockfile mismatches, potentially allowing malware installation if package.json is tampered with.","user_interaction":"not_required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"next_generation_application_programming_interface","vendor":"netapp"},{"product":"npm","vendor":"npmjs"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in package-lock.json differs from package.json. This behavior is inconsistent with the documentation, and makes it easier for attackers to install malware that was supposed to have been blocked by an exact version match requirement in package-lock.json. NOTE: The npm team believes this is not a vulnerability. It would require someone to socially engineer package.json which has different dependencies than package-lock.json. That user would have to have file system or write access to change dependencies. The npm team states preventing malicious actors from socially engineering or gaining file system access is outside the scope of the npm CLI.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":"2021-11-15","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-11-15T01:06:10Z","kind":"github_poc","ref":"https://github.com/icatalina/CVE-2021-43616","stars":3,"title":"Repo demonstrating CVE-2021-43616 / https://github.com/npm/cli/issues/2701"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Supply chain in n/a","id":"CVE-2021-43616","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"supply_chain","year":"2021"},"n_packages":22,"n_references":10,"next":{"headline":"File upload in n/a","id":"CVE-2021-43617"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1:16.14.0-4.module_el8.6.0+2904+f21ad6f4"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/almalinux/nodejs","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["1:16.14.0-4.module_el8.6.0+2904+f21ad6f4"],"introduced":["0"],"last_affected":[],"package":"nodejs-devel","purl":"pkg:rpm/almalinux/nodejs-devel","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["1:16.14.0-4.module_el8.6.0+2904+f21ad6f4"],"introduced":["0"],"last_affected":[],"package":"nodejs-docs","purl":"pkg:rpm/almalinux/nodejs-docs","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["1:16.14.0-4.module_el8.6.0+2904+f21ad6f4"],"introduced":["0"],"last_affected":[],"package":"nodejs-full-i18n","purl":"pkg:rpm/almalinux/nodejs-full-i18n","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["2.0.15-1.module_el8.5.0+2605+45d748af"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/almalinux/nodejs-nodemon","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["2.0.15-1.module_el8.6.0+2904+f21ad6f4"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/almalinux/nodejs-nodemon","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["25-1.module_el8.5.0+246+05401605"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/almalinux/nodejs-packaging","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["25-1.module_el8.5.0+2605+45d748af"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/almalinux/nodejs-packaging","source":"ALSA-2022:4796"},{"ecosystem":"AlmaLinux:8","fixed":["1:8.3.1-1.16.14.0.4.module_el8.6.0+2904+f21ad6f4"],"introduced":["0"],"last_affected":[],"package":"npm","purl":"pkg:rpm/almalinux/npm","source":"ALSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:16.14.0-4.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/redhat/nodejs","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:16.14.0-4.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"nodejs-debuginfo","purl":"pkg:rpm/redhat/nodejs-debuginfo","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:16.14.0-4.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"nodejs-debugsource","purl":"pkg:rpm/redhat/nodejs-debugsource","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:16.14.0-4.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"nodejs-devel","purl":"pkg:rpm/redhat/nodejs-devel","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:16.14.0-4.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"nodejs-docs","purl":"pkg:rpm/redhat/nodejs-docs","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:16.14.0-4.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"nodejs-full-i18n","purl":"pkg:rpm/redhat/nodejs-full-i18n","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.0.15-1.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/redhat/nodejs-nodemon","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:25-1.module+el8.5.0+10992+fac5fe06"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/redhat/nodejs-packaging","source":"RHSA-2022:4796"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:8.3.1-1.16.14.0.4.module+el8.6.0+15294+54b291d2"],"introduced":["0"],"last_affected":[],"package":"npm","purl":"pkg:rpm/redhat/npm","source":"RHSA-2022:4796"},{"ecosystem":"Rocky Linux:8","fixed":["1:16.14.0-4.module+el8.6.0+978+59f26232"],"introduced":["0"],"last_affected":[],"package":"nodejs","purl":"pkg:rpm/rocky-linux/nodejs?distro=rocky-linux-8-6-legacy\u0026epoch=1","source":"RLSA-2022:4796"},{"ecosystem":"Rocky Linux:8","fixed":["0:2.0.15-1.module+el8.5.0+721+4c107270"],"introduced":["0"],"last_affected":[],"package":"nodejs-nodemon","purl":"pkg:rpm/rocky-linux/nodejs-nodemon?distro=rocky-linux-8-5-legacy\u0026epoch=0","source":"RLSA-2022:4796"},{"ecosystem":"Rocky Linux:8","fixed":["0:25-1.module+el8.5.0+702+221f14e6"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/rocky-linux/nodejs-packaging?distro=rocky-linux-8-5-legacy\u0026epoch=0","source":"RLSA-2022:4796"},{"ecosystem":"Rocky Linux:8","fixed":["0:25-1.module+el8.6.0+1046+80feca58"],"introduced":["0"],"last_affected":[],"package":"nodejs-packaging","purl":"pkg:rpm/rocky-linux/nodejs-packaging?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:4796"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2021-43615"},"products":["n/a"],"published":"2021-11-13","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"npm ci installs dependencies despite lockfile mismatches, potentially allowing malware installation if package.json is tampered with.","url":"https://insights.sbomify.com/CVE-2021-43616/"}