CVE-2020-5245
Dropwizard Validation vulnerability
Dropwizard-Validation before 1.3.19, and 2.0.2 may allow arbitrary code execution on the host system, with the privileges of the Dropwizard service account, by injecting arbitrary Java Expression Language expressions when using the self-validating feature. The issue has been fixed in dropwizard-validation 1.3.19 and 2.0.2.
Affected products
Dropwizard Validation, Blockchain Platform. 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/d87d1e4f8e20f6494c0232bf8560c961b46db634 · Patch
- github.com/dropwizard/dropwizard/pull/3157 · Patch
- github.com/dropwizard/dropwizard/pull/3160 · Patch
- beanvalidation.org/2.0/spec/#validationapi-message-defaultmessageinterpolation · Third Party Advisory
- docs.jboss.org/hibernate/validator/6.1/reference/en-US/html_single/#section-interpolation- · Third Party Advisory
- docs.oracle.com/javaee/7/tutorial/jsf-el.htm · Third Party Advisory
- github.com/dropwizard/dropwizard/security/advisories/GHSA-3mcp-9wr4-cjqf · Exploit
- github.com/dropwizard/dropwizard/commit/28479f743a9d0aab6d0e963fc07f3dd98e8c8236
- nvd.nist.gov/vuln/detail/CVE-2020-5245
- cve.org/CVERecord?id=CVE-2020-5245
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.