CVE-2020-11002
Dropwizard Validation vulnerability
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.
Affected products
Dropwizard Validation. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dropwizard Validation runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/dropwizard/dropwizard/commit/d5a512f7abf965275f2a6b913ac4fe778e424242 · Patch
- github.com/dropwizard/dropwizard/pull/3208 · Patch
- github.com/dropwizard/dropwizard/pull/3209 · Patch
- docs.jboss.org/hibernate/validator/6.1/reference/en-US/html_single/#section-hibernateconst · Third Party Advisory
- github.com/dropwizard/dropwizard/security/advisories/GHSA-3mcp-9wr4-cjqf · Exploit
- github.com/dropwizard/dropwizard/security/advisories/GHSA-8jpx-m2wh-2v34 · Third Party Advisory
- github.com/dropwizard/dropwizard/security/policy#reporting-a-vulnerability · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-11002
- cve.org/CVERecord?id=CVE-2020-11002
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.