{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-27421 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-27421 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-27421 is a high-severity vulnerability in NXP MCUXpresso SDK, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-27421 and fix it if it is affected.\n\nWhat it is: CVE-2021-27421 is a high-severity vulnerability in NXP MCUXpresso SDK, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-27421 in the wild and no public exploit code.\n\nAffected product: NXP MCUXpresso SDK. 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-27421/ (Markdown: https://insights.sbomify.com/CVE-2021-27421/index.md)","id":"CVE-2021-27421","markdown":"https://insights.sbomify.com/CVE-2021-27421/index.md","name":"CVE-2021-27421","record":{"aliases":["GHSA-78hf-2qv8-j9h7"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"NXP MCUXpresso SDK","requires_auth":"none","summary":"An integer overflow in the SDK_Malloc function allows out-of-bounds memory access, potentially causing a segmentation fault and denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"icscert","cpe":[{"product":"mcuxpresso_software_development_kit","vendor":"nxp"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"NXP MCUXpresso SDK versions prior to 2.8.2 are vulnerable to integer overflow in SDK_Malloc function, which could allow to access memory locations outside the bounds of a specified array, leading to unexpected behavior such segmentation fault when assigning a particular block of memory from the heap via malloc.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"NXP MCUXpresso SDK Integer Overflow or Wraparound","id":"CVE-2021-27421","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"GE UR family exposure of sensitive information to an unauthorized actor","id":"CVE-2021-27422"},"packages":[],"prev":{"headline":"GE UR family input validation","id":"CVE-2021-27420"},"products":["MCUXpresso SDK"],"published":"2022-05-03","related":[{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2019-17519","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2021-38258","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2021-38260","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":6.5,"headline":"Memory corruption in n/a","id":"CVE-2019-17060","kev_date_added":null,"published":"2020-02-10"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-16","vendors":["NXP"]},"summary":"An integer overflow in the SDK_Malloc function allows out-of-bounds memory access, potentially causing a segmentation fault and denial of service.","url":"https://insights.sbomify.com/CVE-2021-27421/"}