{"answers":{"affected":"It affects 19 products.","exploited":"There is no known exploitation of CVE-2021-40164 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-40164 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-40164 is a high-severity memory corruption vulnerability in Autodesk Autocad, published on 7 Oct 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-40164 and fix it if it is affected.\n\nWhat it is: CVE-2021-40164 is a high-severity memory corruption vulnerability in Autodesk Autocad, published on 7 Oct 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-40164 in the wild and no public exploit code.\n\nAffected product: Autodesk Autocad. 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-40164/ (Markdown: https://insights.sbomify.com/CVE-2021-40164/index.md)","id":"CVE-2021-40164","markdown":"https://insights.sbomify.com/CVE-2021-40164/index.md","name":"CVE-2021-40164","record":{"aliases":["GHSA-h7fr-8788-39j9"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Autodesk CAD software","requires_auth":"none","summary":"Heap-based buffer overflow in Autodesk CAD applications allows arbitrary code execution via malicious image files.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"autodesk","cpe":[{"product":"autocad","vendor":"autodesk"},{"product":"autocad_advance_steel","vendor":"autodesk"},{"product":"autocad_architecture","vendor":"autodesk"},{"product":"autocad_civil_3d","vendor":"autodesk"},{"product":"autocad_electrical","vendor":"autodesk"},{"product":"autocad_lt","vendor":"autodesk"},{"product":"autocad_map_3d","vendor":"autodesk"},{"product":"autocad_mechanical","vendor":"autodesk"},{"product":"autocad_mep","vendor":"autodesk"},{"product":"autocad_plant_3d","vendor":"autodesk"},{"product":"design_review","vendor":"autodesk"},{"product":"dwg_trueview","vendor":"autodesk"},{"product":"fusion","vendor":"autodesk"},{"product":"infrastructure_parts_editor","vendor":"autodesk"},{"product":"infraworks","vendor":"autodesk"},{"product":"inventor","vendor":"autodesk"},{"product":"navisworks","vendor":"autodesk"},{"product":"revit","vendor":"autodesk"},{"product":"storm_and_sanitary_analysis","vendor":"autodesk"}],"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-787","name":"Out-of-bounds Write"}],"description":"A heap-based buffer overflow could occur while parsing TIFF, PICT, TGA, or RLC files. This vulnerability may be exploited to execute arbitrary code.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in Revit, Inventor, Infraworks, Navisworks, Fusion, Infrastructure Parts Editors, Autodesk Advanced Steel, Civil 3D, AutoCAD, AutoCAD LT, AutoCAD Architecture, AutoCAD Electrical, AutoCAD Map 3D, AutoCAD Mechanical, AutoCAD MEP, AutoCAD Plant 3D","id":"CVE-2021-40164","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"autodesk:autocad","products":["autodesk:autocad","autodesk:autocad_advance_steel","autodesk:autocad_architecture","autodesk:autocad_civil_3d","autodesk:autocad_electrical","autodesk:autocad_lt","autodesk:autocad_map_3d","autodesk:autocad_mechanical","autodesk:autocad_mep","autodesk:autocad_plant_3d"],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in Revit, Inventor, Infraworks, Navisworks, Fusion, Infrastructure Parts Editors, Autodesk Advanced Steel, Civil 3D, AutoCAD, AutoCAD LT, AutoCAD Architecture, AutoCAD Electrical, AutoCAD Map 3D, AutoCAD Mechanical, AutoCAD MEP, AutoCAD Plant 3D","id":"CVE-2021-40165"},"packages":[],"prev":{"headline":"Memory corruption in Revit, Inventor, Infraworks, Navisworks, Fusion, Infrastructure Parts Editors, Autodesk Advanced Steel, Civil 3D, AutoCAD, AutoCAD LT, AutoCAD Architecture, AutoCAD Electrical, AutoCAD Map 3D, AutoCAD Mechanical, AutoCAD MEP, AutoCAD Plant 3D","id":"CVE-2021-40163"},"products":["Revit, Inventor, Infraworks, Navisworks, Fusion, Infrastructure Parts Editors, Autodesk Advanced Steel, Civil 3D, AutoCAD, AutoCAD LT, AutoCAD Architecture, AutoCAD Electrical, AutoCAD Map 3D, AutoCAD Mechanical, AutoCAD MEP, AutoCAD Plant 3D"],"published":"2022-10-07","related":[{"cvss_score":9.8,"headline":"Memory corruption in AutoCAD, Advance Steel and Civil 3D","id":"CVE-2023-29073","kev_date_added":null,"published":"2023-11-23"},{"cvss_score":9.8,"headline":"Memory corruption in AutoCAD, Advance Steel and Civil 3D","id":"CVE-2023-29074","kev_date_added":null,"published":"2023-11-23"},{"cvss_score":9.8,"headline":"Memory corruption in AutoCAD, Advance Steel and Civil 3D","id":"CVE-2023-29075","kev_date_added":null,"published":"2023-11-23"},{"cvss_score":9.8,"headline":"Memory corruption in AutoCAD, Advance Steel and Civil 3D","id":"CVE-2023-29076","kev_date_added":null,"published":"2023-11-23"},{"cvss_score":7.8,"headline":"Autodesk AutoCAD DWG Out-of-Bounds Write Code Execution Vulnerability","id":"CVE-2024-7991","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":7.8,"headline":"Autodesk AutoCAD DWG Stack-Based Buffer Overflow Code Execution Vulnerability","id":"CVE-2024-7992","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":7.8,"headline":"Autodesk AutoCAD SLDPRT File Parsing Out-Of-Bounds Read Vulnerability","id":"CVE-2024-8588","kev_date_added":null,"published":"2024-10-29"}],"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-04","vendors":["n/a"]},"summary":"Heap-based buffer overflow in Autodesk CAD applications allows arbitrary code execution via malicious image files.","url":"https://insights.sbomify.com/CVE-2021-40164/"}