Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.glassfish/javax.el
  4. ›
  5. CVE-2021-28170

CVE-2021-28170: Improper Input Validation in Jakarta Expression Language

October 6, 2021 (updated July 1, 2025)

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.

References

  • github.com/advisories/GHSA-v6w3-2prq-h95f
  • github.com/eclipse-ee4j/el-ri
  • github.com/eclipse-ee4j/el-ri/issues/155
  • github.com/eclipse-ee4j/el-ri/pull/160/commits/b6a3943ac5fba71cbc6719f092e319caa747855b
  • nvd.nist.gov/vuln/detail/CVE-2021-28170
  • security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-1297098
  • security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-2841368
  • securitylab.github.com/advisories/GHSL-2020-021-jakarta-el
  • www.oracle.com/security-alerts/cpuapr2022.html

Code Behaviors & Features

Detect and mitigate CVE-2021-28170 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 3.0.1-b12

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation
  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Source file

maven/org.glassfish/javax.el/CVE-2021-28170.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:18 +0000.