Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.glassfish/jakarta.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. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.4

Fixed versions

  • 3.0.4

Solution

Upgrade to version 3.0.4 or above.

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/jakarta.el/CVE-2021-28170.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 29 Aug 2025 00:19:14 +0000.