Code Injection in Dropwizard - CVE-2020-11002
Published: April 20, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation in the self-validating feature. A remote authenticated attacker can inject arbitrary Java EL expressions and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
How to mitigate CVE-2020-11002
External References
- https://docs.jboss.org/hibernate/validator/6.1/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontext
- https://github.com/dropwizard/dropwizard/commit/d5a512f7abf965275f2a6b913ac4fe778e424242
- https://github.com/dropwizard/dropwizard/pull/3208
- https://github.com/dropwizard/dropwizard/pull/3209
- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-3mcp-9wr4-cjqf
- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-8jpx-m2wh-2v34
- https://github.com/dropwizard/dropwizard/security/policy#reporting-a-vulnerability