{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-28170","id":"CVE-2021-28170","title":"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.","descriptionLong":"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.","published":"2021-05-26T21:55:09.000Z","updated":"2026-10-24T10:47:45.016410056Z","reserved":"2021-03-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"eclipse","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["The Eclipse Foundation Jakarta Expression Language Implementation"],"affectedProducts":[{"vendor":"The Eclipse Foundation","product":"Jakarta Expression Language Implementation","defaultStatus":null,"versions":[{"lessThanOrEqual":"3.0.3","status":"affected","version":"unspecified","versionType":"custom"},{"lessThan":"unspecified","status":"unknown","version":"next of 3.0.3","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.sun.el:el-ri","purl":"pkg:maven/com.sun.el/el-ri","ranges":["<3.0.4"],"fixed":["3.0.4"],"advisory":"GHSA-v6w3-2prq-h95f"},{"ecosystem":"Maven","name":"org.glassfish:jakarta.el","purl":"pkg:maven/org.glassfish/jakarta.el","ranges":["<3.0.4"],"fixed":["3.0.4"],"advisory":"GHSA-v6w3-2prq-h95f"},{"ecosystem":"Maven","name":"org.glassfish:javax.el","purl":"pkg:maven/org.glassfish/javax.el","ranges":["<=3.0.1-b12"],"fixed":[],"advisory":"GHSA-v6w3-2prq-h95f"}],"cwes":["CWE-20","CWE-917"],"aliases":["GHSA-v6w3-2prq-h95f"],"references":[{"url":"https://github.com/eclipse-ee4j/el-ri/issues/155","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-021-jakarta-el/","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28170","tags":["advisory"]},{"url":"https://github.com/eclipse-ee4j/el-ri/pull/160/commits/b6a3943ac5fba71cbc6719f092e319caa747855b","tags":["web"]},{"url":"https://github.com/eclipse-ee4j/el-ri","tags":["package"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-1297098","tags":["web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGGLASSFISH-2841368","tags":["web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-021-jakarta-el","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02132,"epssPercentile":0.8234,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-28170","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28170","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-28170","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v6w3-2prq-h95f","ok":true,"note":"GHSA-v6w3-2prq-h95f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-28170","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}