GitHub Advisory Database
GHSA-v6w3-2prq-h95f
Improper Input Validation in Jakarta Expression Language
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.sun.el:el-ri | All versions before 3.0.4 (fixed in 3.0.4) |
| Maven | org.glassfish:jakarta.el | All versions before 3.0.4 (fixed in 3.0.4) |
| Maven | org.glassfish:javax.el | All versions up to and including 3.0.1-b12 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-28170
- https://github.com/eclipse-ee4j/el-ri/issues/155
- https://github.com/eclipse-ee4j/el-ri/pull/160/commits/b6a3943ac5fba71cbc6719f092e319caa747855b
- https://github.com/eclipse-ee4j/el-ri
- https://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-1297098
- https://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-2841368
- https://securitylab.github.com/advisories/GHSL-2020-021-jakarta-el
- https://www.oracle.com/security-alerts/cpuapr2022.html