{"answers":{"affected":"2 open source packages ship an affected version, including node and node-min. It affects 13 products.","exploited":"There is no known exploitation of CVE-2021-22884 in the wild and no public exploit code.","fix":"Upgrade node to a fixed version for your release line: 10.24.0, 12.21.0, 14.16.0 or 15.10.0.","what":"CVE-2021-22884 is a high-severity vulnerability in Fedoraproject Fedora, published on 3 Mar 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-22884 and fix it if it is affected.\n\nWhat it is: CVE-2021-22884 is a high-severity vulnerability in Fedoraproject Fedora, published on 3 Mar 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-22884 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- node (Bitnami): affected from 10.0.0; fixed in 10.24.0, 12.21.0, 14.16.0, 15.10.0\n- node-min (Bitnami): affected from 10.0.0; fixed in 10.24.0, 12.21.0, 14.16.0, 15.10.0\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-22884/ (Markdown: https://insights.sbomify.com/CVE-2021-22884/index.md)","id":"CVE-2021-22884","markdown":"https://insights.sbomify.com/CVE-2021-22884/index.md","name":"CVE-2021-22884","record":{"aliases":["ALPINE-CVE-2021-22884","BIT-node-2021-22884","BIT-node-min-2021-22884","CLEANSTART-2026-DP91673","CLEANSTART-2026-MS57961","DEBIAN-CVE-2021-22884","GHSA-2w6h-7cgj-qw4q","SUSE-SU-2021:0686-1","UBUNTU-CVE-2021-22884","openSUSE-SU-2021:0389-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js runtime","requires_auth":"none","summary":"Attackers can bypass DNS rebinding protections in Node.js by exploiting the localhost6 whitelist entry, allowing access to local services.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"e-series_performance_analyzer","vendor":"netapp"},{"product":"oncommand_insight","vendor":"netapp"},{"product":"oncommand_workflow_automation","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"node.js","vendor":"nodejs"},{"product":"graalvm","vendor":"oracle"},{"product":"jd_edwards_enterpriseone_tools","vendor":"oracle"},{"product":"mysql_cluster","vendor":"oracle"},{"product":"nosql_database","vendor":"oracle"},{"product":"peoplesoft_enterprise_peopletools","vendor":"oracle"},{"product":"sinec_infrastructure_network_services","vendor":"siemens"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-350","name":"Reliance on Reverse DNS Resolution for a Security-Critical Action"}],"description":"Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”. When “localhost6” is not present in /etc/hosts, it is just an ordinary domain that is resolved via DNS, i.e., over network. If the attacker controls the victim's DNS server or can spoof its responses, the DNS rebinding protection can be bypassed by using the “localhost6” domain. As long as the attacker uses the “localhost6” domain, they can still apply the attack described in CVE-2018-7160.","ecosystems":["Bitnami","SUSE:Linux Enterprise Module for Web and Scripting 15 SP2","openSUSE:Leap 15.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Node.js bad","id":"CVE-2021-22884","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","netapp:active_iq_unified_manager","netapp:e-series_performance_analyzer","netapp:oncommand_insight","netapp:oncommand_workflow_automation","netapp:snapcenter","nodejs:node.js","oracle:graalvm","oracle:jd_edwards_enterpriseone_tools","oracle:mysql_cluster","oracle:peoplesoft_enterprise_peopletools","siemens:sinec_infrastructure_network_services"],"type":"security_feature_bypass","year":"2021"},"n_packages":4,"n_references":12,"next":{"headline":"Action Pack contains Information Disclosure / Unintended Method Execution vulnerability","id":"CVE-2021-22885"},"packages":[{"ecosystem":"Bitnami","fixed":["10.24.0","12.21.0","14.16.0","15.10.0"],"introduced":["10.0.0","12.0.0","14.0.0","15.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2021-22884"},{"ecosystem":"Bitnami","fixed":["10.24.0","12.21.0","14.16.0","15.10.0"],"introduced":["10.0.0","12.0.0","14.0.0","15.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2021-22884"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP2","fixed":["8.17.0-10.9.2"],"introduced":["0"],"last_affected":[],"package":"nodejs8","purl":"pkg:rpm/suse/nodejs8\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP2","source":"SUSE-SU-2021:0686-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["8.17.0-lp152.3.11.1"],"introduced":["0"],"last_affected":[],"package":"nodejs8","purl":"pkg:rpm/opensuse/nodejs8\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0389-1"}],"prev":{"headline":"Denial of service in Node","id":"CVE-2021-22883"},"products":["Node"],"published":"2021-03-03","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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-04-30","vendors":["NodeJS"]},"summary":"Attackers can bypass DNS rebinding protections in Node.js by exploiting the localhost6 whitelist entry, allowing access to local services.","url":"https://insights.sbomify.com/CVE-2021-22884/"}