{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40246 exists.","fix":"No fix has been published for CVE-2022-40246 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-40246 is a high-severity memory corruption vulnerability in AMI Aptio, published on 20 Sep 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-2022-40246 and fix it if it is affected.\n\nWhat it is: CVE-2022-40246 is a high-severity memory corruption vulnerability in AMI Aptio, published on 20 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-40246 exists.\n\nAffected product: AMI Aptio. 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-2022-40246/ (Markdown: https://insights.sbomify.com/CVE-2022-40246/index.md)","id":"CVE-2022-40246","markdown":"https://insights.sbomify.com/CVE-2022-40246/index.md","name":"CVE-2022-40246","record":{"aliases":["GHSA-jjpm-q6jh-v8gj"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution","data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"AMI Aptio firmware","requires_auth":"high_privilege","summary":"An attacker with physical access can exploit a memory corruption flaw in AMI Aptio firmware during S3 resume to execute arbitrary code and bypass security mitigations.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"nuc_m15_laptop_kit_lapbc510_firmware","vendor":"intel"},{"product":"nuc_m15_laptop_kit_lapbc710_firmware","vendor":"intel"}],"cvss":{"score":7.2,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-123","name":"Write-what-where Condition"}],"description":"A potential attacker can write one byte by arbitrary address at the time of the PEI phase (only during S3 resume boot mode) and influence the subsequent boot stages. This can lead to the mitigations bypassing, physical memory contents disclosure, discovery of any secrets from any Virtual Machines (VMs) and bypassing memory isolation and confidential computing boundaries. Additionally, an attacker can build a payload which can be injected into the SMRAM memory. This issue affects: Module name: SbPei SHA256: d827182e5f9b7a9ff0b9d3e232f7cfac43b5237e2681e11f005be627a49283a9 Module GUID: c1fbd624-27ea-40d1-aa48-94c3dc5c7e0d","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Arbitrary write vulnerability in SbPei module leads to arbitrary code execution during PEI phase.","id":"CVE-2022-40246","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"An HTML injection vulnerability exists in CERT/CC VINCE software prior to version 1.50.4","id":"CVE-2022-40248"},"packages":[],"prev":{"headline":"MegaRAC Default Credentials Vulnerability","id":"CVE-2022-40242"},"products":["Aptio"],"published":"2022-09-20","related":[{"cvss_score":7.5,"headline":"Privilege escalation in Intel(R) NUC M15 Laptop Kits","id":"CVE-2022-32569","kev_date_added":null,"published":"2022-11-11"}],"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-28","vendors":["AMI"]},"summary":"An attacker with physical access can exploit a memory corruption flaw in AMI Aptio firmware during S3 resume to execute arbitrary code and bypass security mitigations.","url":"https://insights.sbomify.com/CVE-2022-40246/"}