Description
dropwizard-validation before versions 2.0.3 and 1.3.21 has a remote code execution vulnerability. A server-side template injection was identified in the self-validating feature enabling attackers to inject arbitrary Java EL expressions, leading to Remote Code Execution (RCE) vulnerability. If you are using a self-validating bean an upgrade to Dropwizard 1.3.21/2.0.3 or later is strongly recommended. The changes introduced in Dropwizard 1.3.19 and 2.0.2 for CVE-2020-5245 unfortunately did not fix the underlying issue completely. The issue has been fixed in dropwizard-validation 1.3.21 and 2.0.3 or later. We strongly recommend upgrading to one of these versions.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| dropwizard | dropwizard | < 1.3.21; >= 2.0.0, < 2.0.3 |
References
- https://docs.jboss.org/hibernate/validator/6.1/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontextThird Party Advisory
- https://github.com/dropwizard/dropwizard/commit/d5a512f7abf965275f2a6b913ac4fe778e424242Patch, Third Party Advisory
- https://github.com/dropwizard/dropwizard/pull/3208Patch, Third Party Advisory
- https://github.com/dropwizard/dropwizard/pull/3209Patch, Third Party Advisory
- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-3mcp-9wr4-cjqfExploit, Third Party Advisory
- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-8jpx-m2wh-2v34Third Party Advisory
- https://github.com/dropwizard/dropwizard/security/policy#reporting-a-vulnerabilityThird Party Advisory
- https://docs.jboss.org/hibernate/validator/6.1/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontextThird Party Advisory
- https://github.com/dropwizard/dropwizard/commit/d5a512f7abf965275f2a6b913ac4fe778e424242Patch, Third Party Advisory
- https://github.com/dropwizard/dropwizard/pull/3208Patch, Third Party Advisory
- https://github.com/dropwizard/dropwizard/pull/3209Patch, Third Party Advisory
- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-3mcp-9wr4-cjqfExploit, Third Party Advisory
- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-8jpx-m2wh-2v34Third Party Advisory
- https://github.com/dropwizard/dropwizard/security/policy#reporting-a-vulnerabilityThird Party Advisory
Timeline
- Published
- Apr 10, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified