medium5.3
CVE-2021-28170
Improper Input Validation in Jakarta Expression Language
Impact
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 | Fixed in |
|---|---|---|---|
| maven | com.sun.el:el-ri | < 3.0.4 | 3.0.4 |
| maven | org.glassfish:jakarta.el | < 3.0.4 | 3.0.4 |
| maven | org.glassfish:javax.el | <= 3.0.1-b12 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Eclipse | Jakarta Expression Language | through 3.0.3 |
| Quarkus | Quarkus | before 2.3.0 |
| Oracle | Communications Cloud Native Core Policy | Version 1.14.0 |
| Oracle | Weblogic Server | Version 14.1.1.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-v6w3-2prq-h95f
- https://nvd.nist.gov/vuln/detail/CVE-2021-28170
- https://github.com/eclipse-ee4j/el-ri/pull/160/commits/b6a3943ac5fba71cbc6719f092e319caa747855b
- 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