{"answers":{"affected":"It affects 62 products.","exploited":"There is no known exploitation of CVE-2021-4212 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-4212 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-4212 is a medium-severity code injection vulnerability in Lenovo 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-4212 and fix it if it is affected.\n\nWhat it is: CVE-2021-4212 is a medium-severity code injection vulnerability in Lenovo 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-4212 in the wild and no public exploit code.\n\nAffected product: Lenovo 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-4212/ (Markdown: https://insights.sbomify.com/CVE-2021-4212/index.md)","id":"CVE-2021-4212","markdown":"https://insights.sbomify.com/CVE-2021-4212/index.md","name":"CVE-2021-4212","record":{"aliases":["GHSA-937r-586h-vgqf"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Lenovo Notebook BIOS","requires_auth":"high_privilege","summary":"An attacker with local elevated privileges can execute arbitrary code via a vulnerability in the Lenovo Notebook BIOS Legacy BIOS mode driver.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"lenovo","cpe":[{"product":"c340-14iml_firmware","vendor":"lenovo"},{"product":"c340-15iml_firmware","vendor":"lenovo"},{"product":"d330-10igm_firmware","vendor":"lenovo"},{"product":"duet_3-10igl5_firmware","vendor":"lenovo"},{"product":"e41-50_firmware","vendor":"lenovo"},{"product":"flex-14iml_firmware","vendor":"lenovo"},{"product":"flex-15iml_firmware","vendor":"lenovo"},{"product":"ideapad_3-14are05_firmware","vendor":"lenovo"},{"product":"ideapad_3-15are05_firmware","vendor":"lenovo"},{"product":"ideapad_3-17are05_firmware","vendor":"lenovo"},{"product":"ideapad_5-14alc05_firmware","vendor":"lenovo"},{"product":"ideapad_5-14are05_firmware","vendor":"lenovo"},{"product":"ideapad_5-15itl05_firmware","vendor":"lenovo"},{"product":"ideapad_5_pro-14acn6_firmware","vendor":"lenovo"},{"product":"ideapad_5_pro-14itl6_firmware","vendor":"lenovo"},{"product":"ideapad_5_pro-16ihu6_firmware","vendor":"lenovo"},{"product":"ideapad_creator_5-15imh05_firmware","vendor":"lenovo"},{"product":"ideapad_gaming_3-15ach6_firmware","vendor":"lenovo"},{"product":"ideapad_gaming_3-15arh05_firmware","vendor":"lenovo"},{"product":"ideapad_gaming_3-15imh05_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":"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":"s340-13iml_firmware","vendor":"lenovo"},{"product":"s340-14api_firmware","vendor":"lenovo"},{"product":"s340-14iml_firmware","vendor":"lenovo"},{"product":"s340-15api_firmware","vendor":"lenovo"},{"product":"s340-15api_touch_firmware","vendor":"lenovo"},{"product":"s340-15iml_firmware","vendor":"lenovo"},{"product":"s540-14iml_firmware","vendor":"lenovo"},{"product":"s540-14iml_touch_firmware","vendor":"lenovo"},{"product":"s540-15iml_firmware","vendor":"lenovo"},{"product":"slim_7-14are05_firmware","vendor":"lenovo"},{"product":"slim_7-14itl05_firmware","vendor":"lenovo"},{"product":"slim_7-15iil05_firmware","vendor":"lenovo"},{"product":"slim_7-15imh05_firmware","vendor":"lenovo"},{"product":"slim_7-15itl05_firmware","vendor":"lenovo"},{"product":"thinkbook_13x_itg_firmware","vendor":"lenovo"},{"product":"thinkbook_14_g3_itl_firmware","vendor":"lenovo"},{"product":"thinkbook_plus_g2_itg_firmware","vendor":"lenovo"},{"product":"v14-are_firmware","vendor":"lenovo"},{"product":"v140-15iwl_firmware","vendor":"lenovo"},{"product":"v340-17iwl_firmware","vendor":"lenovo"},{"product":"yoga_6-13alc6_firmware","vendor":"lenovo"},{"product":"yoga_creator_7-15imh05_firmware","vendor":"lenovo"},{"product":"yoga_slim_7-14are05_firmware","vendor":"lenovo"},{"product":"yoga_slim_7-14iil05_firmware","vendor":"lenovo"},{"product":"yoga_slim_7-14itl05_firmware","vendor":"lenovo"},{"product":"yoga_slim_7-15iil05_firmware","vendor":"lenovo"},{"product":"yoga_slim_7-15imh05_firmware","vendor":"lenovo"},{"product":"yoga_slim_7-15itl05_firmware","vendor":"lenovo"},{"product":"yoga_slim_7_carbon_13itl5_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 the SMI callback function used in the Legacy BIOS mode driver in some Lenovo Notebook models 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 BIOS","id":"CVE-2021-4212","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":"Memory corruption in JSS","id":"CVE-2021-4213"},"packages":[],"prev":{"headline":"Code injection in BIOS","id":"CVE-2021-4211"},"products":["BIOS"],"published":"2022-04-22","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":["Lenovo"]},"summary":"An attacker with local elevated privileges can execute arbitrary code via a vulnerability in the Lenovo Notebook BIOS Legacy BIOS mode driver.","url":"https://insights.sbomify.com/CVE-2021-4212/"}