{"answers":{"affected":"4 open source packages ship an affected version, including async. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-43138 in the wild and no public exploit code.","fix":"Upgrade async to a fixed version for your release line: 2.6.4 or 3.2.2.","what":"CVE-2021-43138 is a high-severity vulnerability in Fedoraproject Fedora, published on 6 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-43138 and fix it if it is affected.\n\nWhat it is: CVE-2021-43138 is a high-severity vulnerability in Fedoraproject Fedora, published on 6 Apr 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-43138 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- async (npm): affected from 2.0.0; fixed in 2.6.4\n- async (npm): affected from 2.0.0; fixed in 2.6.4\n- async (npm): affected from 3.0.0; fixed in 3.2.2\n- async (npm): affected from 3.0.0; fixed in 3.2.2\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-43138/ (Markdown: https://insights.sbomify.com/CVE-2021-43138/index.md)","id":"CVE-2021-43138","markdown":"https://insights.sbomify.com/CVE-2021-43138/index.md","name":"CVE-2021-43138","record":{"aliases":["CLSA-2026-1773101703","CLSA-2026-1782089824","CLSA-2026-1792369544","GHSA-fwr7-v2mv-hh25","ROOT-APP-NPM-CVE-2021-43138"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Async JavaScript library","requires_auth":"none","summary":"A prototype pollution vulnerability in the Async library allows malicious users to escalate privileges via the mapValues method.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"async","vendor":"async_project"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"In Async before 2.6.4 and 3.x before 3.2.2, a malicious user can obtain privileges via the mapValues() method, aka lib/internal/iterator.js createObjectIterator prototype pollution.","ecosystems":["npm"],"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":"Prototype Pollution in async","id":"CVE-2021-43138","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"privilege_escalation","year":"2021"},"n_packages":4,"n_references":10,"next":{"headline":"SQL injection in n/a","id":"CVE-2021-43140"},"packages":[{"ecosystem":"npm","fixed":["2.6.4"],"introduced":["2.0.0"],"last_affected":[],"package":"async","purl":null,"source":"GHSA-fwr7-v2mv-hh25"},{"ecosystem":"npm","fixed":["2.6.4"],"introduced":["2.0.0"],"last_affected":[],"package":"async","purl":"pkg:npm/async","source":"GHSA-fwr7-v2mv-hh25"},{"ecosystem":"npm","fixed":["3.2.2"],"introduced":["3.0.0"],"last_affected":[],"package":"async","purl":null,"source":"GHSA-fwr7-v2mv-hh25"},{"ecosystem":"npm","fixed":["3.2.2"],"introduced":["3.0.0"],"last_affected":[],"package":"async","purl":"pkg:npm/async","source":"GHSA-fwr7-v2mv-hh25"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-43137"},"products":["n/a"],"published":"2022-04-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"2024-08-04","vendors":["n/a"]},"summary":"A prototype pollution vulnerability in the Async library allows malicious users to escalate privileges via the mapValues method.","url":"https://insights.sbomify.com/CVE-2021-43138/"}