{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-32773 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-32773 is a medium-severity code injection vulnerability in racket, published on 19 Jul 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-32773 and fix it if it is affected.\n\nWhat it is: CVE-2021-32773 is a medium-severity code injection vulnerability in racket, published on 19 Jul 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-32773 in the wild and no public exploit code.\n\nAffected product: racket. 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-32773/ (Markdown: https://insights.sbomify.com/CVE-2021-32773/index.md)","id":"CVE-2021-32773","markdown":"https://insights.sbomify.com/CVE-2021-32773/index.md","name":"CVE-2021-32773","record":{"aliases":["DEBIAN-CVE-2021-32773","GHSA-cgrw-p7p7-937c","UBUNTU-CVE-2021-32773"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Racket programming language","requires_auth":"none","summary":"Attackers can hijack system module resolution in the Racket sandbox to execute arbitrary code and bypass security restrictions.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"racket","vendor":"racket-lang"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-610","name":"Externally Controlled Reference to a Resource in Another Sphere"},{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"description":"Racket is a general-purpose programming language and an ecosystem for language-oriented programming. In versions prior to 8.2, code evaluated using the Racket sandbox could cause system modules to incorrectly use attacker-created modules instead of their intended dependencies. This could allow system functions to be controlled by the attacker, giving access to facilities intended to be restricted. This problem is fixed in Racket version 8.2. A workaround is available, depending on system settings. For systems that provide arbitrary Racket evaluation, external sandboxing such as containers limit the impact of the problem. For multi-user evaluation systems, such as the `handin-server` system, it is not possible to work around this problem and upgrading is required.","ecosystems":[],"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":"Confused deputy attack in sandbox module resolution","id":"CVE-2021-32773","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Cross-Site Request Forgery (CSRF) in DataDump","id":"CVE-2021-32774"},"packages":[],"prev":{"headline":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in helper_entries","id":"CVE-2021-32772"},"products":["racket"],"published":"2021-07-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-03","vendors":["racket"]},"summary":"Attackers can hijack system module resolution in the Racket sandbox to execute arbitrary code and bypass security restrictions.","url":"https://insights.sbomify.com/CVE-2021-32773/"}