{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21711 exists.","fix":"No fix has been published for CVE-2022-21711 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-21711 is a high-severity vulnerability in liyansong2018 elfspirit, published on 24 Jan 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-2022-21711 and fix it if it is affected.\n\nWhat it is: CVE-2022-21711 is a high-severity vulnerability in liyansong2018 elfspirit, published on 24 Jan 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21711 exists.\n\nAffected product: liyansong2018 elfspirit. 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-21711/ (Markdown: https://insights.sbomify.com/CVE-2022-21711/index.md)","id":"CVE-2022-21711","markdown":"https://insights.sbomify.com/CVE-2022-21711/index.md","name":"CVE-2022-21711","record":{"aliases":["GHSA-jr8h-2657-m68r"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ELF analysis library","requires_auth":"none","summary":"An out-of-bounds read in elfspirit allows attackers to leak memory or crash the application via a crafted ELF file.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"elfspirit","vendor":"elfspirit_project"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"elfspirit is an ELF static analysis and injection framework that parses, manipulates, and camouflages ELF files. When analyzing the ELF file format in versions prior to 1.1, there is an out-of-bounds read bug, which can lead to application crashes or information leakage. By constructing a special format ELF file, the information of any address can be leaked. elfspirit version 1.1 contains a patch for this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Out-of-bounds Read lead to application crashes or information leakage in ELF parsing.","id":"CVE-2022-21711","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Cookie and header exposure in twisted","id":"CVE-2022-21712"},"packages":[],"prev":{"headline":"Cross-site Scripting in ShortDescription extension","id":"CVE-2022-21710"},"products":["elfspirit"],"published":"2022-01-24","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["liyansong2018"]},"summary":"An out-of-bounds read in elfspirit allows attackers to leak memory or crash the application via a crafted ELF file.","url":"https://insights.sbomify.com/CVE-2022-21711/"}