MODERATE 5.3
CVE-2021-28170
Improper Input Validation in Jakarta Expression Language
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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.sun.el » el-ri | < 3.0.4 | 3.0.4 |
| org.glassfish » jakarta.el | < 3.0.4 | 3.0.4 |
| org.glassfish » javax.el | <= 3.0.1-b12 | - |
Blast radius
3affected artifacts
57affected versions
12,880dependent artifacts (est.)
366,438dependent versions
53% of the dependent artifacts (6,894) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 31,237 |
| 2 hops | 113,273 |
| 3 hops | 101,236 |
| 4 hops | 71,278 |
| 5 hops | 35,458 |
| 6 hops | 13,956 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.spark » spark-core2,899 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- org.eclipse.jetty » jetty-maven-plugin1,337 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.springframework.boot » spring-boot-starter-tomcat901 usages
- io.dropwizard » dropwizard-core894 usages
- org.apache.spark » spark-mllib831 usages
- org.springframework.boot » spring-boot-starter-undertow804 usages
- org.apache.hive » hive-exec699 usages
- org.springframework.cloud » spring-cloud-starter-netflix-eureka-client684 usages
- io.fabric8 » kubernetes-client684 usages
- io.fabric8 » fabric8-maven-plugin676 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-28170
- Webhttps://github.com/eclipse-ee4j/el-ri/issues/155
- Webhttps://github.com/eclipse-ee4j/el-ri/pull/160/commits/b6a3943ac5fba71cbc6719f092e319caa747855b
- Packagehttps://github.com/eclipse-ee4j/el-ri
- Webhttps://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-1297098
- Webhttps://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-2841368
- Advisoryhttps://securitylab.github.com/advisories/GHSL-2020-021-jakarta-el
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
