{"answers":{"affected":"It affects 105 products.","exploited":"There is no known exploitation of CVE-2021-3970 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-3970 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-3970 is a medium-severity code injection vulnerability in Lenovo Notebook BIOS, published on 22 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3970 and fix it if it is affected.\n\nWhat it is: CVE-2021-3970 is a medium-severity code injection vulnerability in Lenovo Notebook BIOS, published on 22 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3970 in the wild and no public exploit code.\n\nAffected product: Lenovo Notebook BIOS. 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-3970/ (Markdown: https://insights.sbomify.com/CVE-2021-3970/index.md)","id":"CVE-2021-3970","markdown":"https://insights.sbomify.com/CVE-2021-3970/index.md","name":"CVE-2021-3970","record":{"aliases":["GHSA-2g3v-5cpr-rx7q"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Lenovo Notebook BIOS","requires_auth":"high_privilege","summary":"Local attackers with elevated privileges can execute arbitrary code via insufficient validation in Lenovo Notebook BIOS SMI handlers.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"lenovo","cpe":[{"product":"ideapad_3-14ada05_firmware","vendor":"lenovo"},{"product":"ideapad_3-14ada6_firmware","vendor":"lenovo"},{"product":"ideapad_3-14alc6_firmware","vendor":"lenovo"},{"product":"ideapad_3-14are05_firmware","vendor":"lenovo"},{"product":"ideapad_3-14igl05_firmware","vendor":"lenovo"},{"product":"ideapad_3-14iil05_firmware","vendor":"lenovo"},{"product":"ideapad_3-14iml05_firmware","vendor":"lenovo"},{"product":"ideapad_3-14itl05_firmware","vendor":"lenovo"},{"product":"ideapad_3-14itl6_firmware","vendor":"lenovo"},{"product":"ideapad_3-15ada05_firmware","vendor":"lenovo"},{"product":"ideapad_3-15ada6_firmware","vendor":"lenovo"},{"product":"ideapad_3-15alc6_firmware","vendor":"lenovo"},{"product":"ideapad_3-15are05_firmware","vendor":"lenovo"},{"product":"ideapad_3-15igl05_firmware","vendor":"lenovo"},{"product":"ideapad_3-15iil05_firmware","vendor":"lenovo"},{"product":"ideapad_3-15iml05_firmware","vendor":"lenovo"},{"product":"ideapad_3-15itl05_firmware","vendor":"lenovo"},{"product":"ideapad_3-15itl6_firmware","vendor":"lenovo"},{"product":"ideapad_3-17ada05_firmware","vendor":"lenovo"},{"product":"ideapad_3-17ada6_firmware","vendor":"lenovo"},{"product":"ideapad_3-17alc6_firmware","vendor":"lenovo"},{"product":"ideapad_3-17are05_firmware","vendor":"lenovo"},{"product":"ideapad_3-17iil05_firmware","vendor":"lenovo"},{"product":"ideapad_3-17iml05_firmware","vendor":"lenovo"},{"product":"ideapad_3-17itl6_firmware","vendor":"lenovo"},{"product":"ideapad_5-15are05_firmware","vendor":"lenovo"},{"product":"ideapad_5-15iil05_firmware","vendor":"lenovo"},{"product":"ideapad_creator_5-15imh05_firmware","vendor":"lenovo"},{"product":"ideapad_gaming_3-15arh05_firmware","vendor":"lenovo"},{"product":"ideapad_gaming_3-15imh05_firmware","vendor":"lenovo"},{"product":"l3-15itl6_firmware","vendor":"lenovo"},{"product":"l340-15irh_firmware","vendor":"lenovo"},{"product":"l340-15iwl_firmware","vendor":"lenovo"},{"product":"l340-15iwl_touch_firmware","vendor":"lenovo"},{"product":"l340-17irh_firmware","vendor":"lenovo"},{"product":"l340-17iwl_firmware","vendor":"lenovo"},{"product":"l3_15iml05_firmware","vendor":"lenovo"},{"product":"legion_5-15ach6_firmware","vendor":"lenovo"},{"product":"legion_5-15ach6a_firmware","vendor":"lenovo"},{"product":"legion_5-15ach6h_firmware","vendor":"lenovo"},{"product":"legion_5-15imh6_firmware","vendor":"lenovo"},{"product":"legion_5-15ith6_firmware","vendor":"lenovo"},{"product":"legion_5-15ith6h_firmware","vendor":"lenovo"},{"product":"legion_5-17ach6_firmware","vendor":"lenovo"},{"product":"legion_5-17ach6h_firmware","vendor":"lenovo"},{"product":"legion_5-17ith6_firmware","vendor":"lenovo"},{"product":"legion_5-17ith6h_firmware","vendor":"lenovo"},{"product":"legion_5_pro-16ach6_firmware","vendor":"lenovo"},{"product":"legion_5_pro-16ach6h_firmware","vendor":"lenovo"},{"product":"legion_5_pro-16ith6_firmware","vendor":"lenovo"},{"product":"legion_5_pro-16ith6h_firmware","vendor":"lenovo"},{"product":"legion_7-16achg6_firmware","vendor":"lenovo"},{"product":"legion_7-16ithg6_firmware","vendor":"lenovo"},{"product":"legion_s7-15ach6_firmware","vendor":"lenovo"},{"product":"legion_y540-15irh-pg0_firmware","vendor":"lenovo"},{"product":"legion_y540-15irh_firmware","vendor":"lenovo"},{"product":"legion_y540-17irh-pg0_firmware","vendor":"lenovo"},{"product":"legion_y540-17irh_firmware","vendor":"lenovo"},{"product":"legion_y545-pg0_firmware","vendor":"lenovo"},{"product":"legion_y545_firmware","vendor":"lenovo"},{"product":"legion_y7000-2019-pg0_firmware","vendor":"lenovo"},{"product":"legion_y7000-2019_firmware","vendor":"lenovo"},{"product":"s145-14api_firmware","vendor":"lenovo"},{"product":"s145-14ast_firmware","vendor":"lenovo"},{"product":"s145-14igm_firmware","vendor":"lenovo"},{"product":"s145-14iil_firmware","vendor":"lenovo"},{"product":"s145-15api_firmware","vendor":"lenovo"},{"product":"s145-15ast_firmware","vendor":"lenovo"},{"product":"s145-15igm_firmware","vendor":"lenovo"},{"product":"s145-15iil_firmware","vendor":"lenovo"},{"product":"s14_g2_itl_firmware","vendor":"lenovo"},{"product":"s540-13api_firmware","vendor":"lenovo"},{"product":"s540-13iml_firmware","vendor":"lenovo"},{"product":"slim_7_pro-14ihu5_firmware","vendor":"lenovo"},{"product":"slim_9-14itl05_firmware","vendor":"lenovo"},{"product":"v14-ada_firmware","vendor":"lenovo"},{"product":"v14-are_firmware","vendor":"lenovo"},{"product":"v14-igl_firmware","vendor":"lenovo"},{"product":"v14-iil_firmware","vendor":"lenovo"},{"product":"v140-15iwl_firmware","vendor":"lenovo"},{"product":"v14_g1-iml_firmware","vendor":"lenovo"},{"product":"v14_g2-acl_firmware","vendor":"lenovo"},{"product":"v14_g2-itl_firmware","vendor":"lenovo"},{"product":"v15-ada_firmware","vendor":"lenovo"},{"product":"v15-igl_firmware","vendor":"lenovo"},{"product":"v15-iil_firmware","vendor":"lenovo"},{"product":"v15_g1-iml_firmware","vendor":"lenovo"},{"product":"v15_g2-alc_firmware","vendor":"lenovo"},{"product":"v15_g2-itl_firmware","vendor":"lenovo"},{"product":"v17-iil_firmware","vendor":"lenovo"},{"product":"v17_g2-itl_firmware","vendor":"lenovo"},{"product":"v340-17iwl_firmware","vendor":"lenovo"},{"product":"yoga_7-14acn6_firmware","vendor":"lenovo"},{"product":"yoga_c740-14iml_firmware","vendor":"lenovo"},{"product":"yoga_c740-15iml_firmware","vendor":"lenovo"},{"product":"yoga_c940-14iil_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14ach5_d_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14ach5_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14ach5_o_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14ach5_od_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14arh5_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14ihu5_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14ihu5_o_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_pro-14itl5_firmware","vendor":"lenovo"},{"product":"yoga_slim_9-14itl05_firmware","vendor":"lenovo"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A potential vulnerability in LenovoVariable SMI Handler due to insufficient validation in some Lenovo Notebook models BIOS may allow an attacker with local access and elevated privileges 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":"Code injection in Notebook BIOS","id":"CVE-2021-3970","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Privilege escalation in Notebook BIOS","id":"CVE-2021-3971"},"packages":[],"prev":{"headline":"Race condition in IMController","id":"CVE-2021-3969"},"products":["Notebook BIOS"],"published":"2022-04-22","related":[{"cvss_score":6.7,"headline":"Privilege escalation in Notebook BIOS","id":"CVE-2021-3971","kev_date_added":null,"published":"2022-04-22"},{"cvss_score":6.7,"headline":"Security feature bypass in Notebook BIOS","id":"CVE-2021-3972","kev_date_added":null,"published":"2022-04-22"}],"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":["Lenovo"]},"summary":"Local attackers with elevated privileges can execute arbitrary code via insufficient validation in Lenovo Notebook BIOS SMI handlers.","url":"https://insights.sbomify.com/CVE-2021-3970/"}