CVE-2020-11002
Java vulnerability analysis and mitigation

Overview

A server-side template injection vulnerability was identified in dropwizard-validation before versions 2.0.3 and 1.3.21 (CVE-2020-11002). The vulnerability was discovered in the self-validating feature, which enabled attackers to inject arbitrary Java EL expressions, leading to Remote Code Execution (RCE). This vulnerability was a follow-up to a previous incomplete fix (CVE-2020-5245) implemented in versions 1.3.19 and 2.0.2 (GitHub Advisory).

Technical details

The vulnerability exists in the self-validating (@SelfValidating) feature of dropwizard-validation, where message interpolation in ConstraintViolations could be exploited through template injection. The issue allows attackers to inject and execute arbitrary Java Expression Language (EL) expressions when using the self-validating feature (@SelfValidating, @SelfValidation). The vulnerability has a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows attackers to execute arbitrary code on the host system with the privileges of the Dropwizard service account. This remote code execution capability presents a significant security risk as it could lead to complete system compromise within the context of the application's permissions (GitHub Advisory).

Mitigation and workarounds

The issue has been fixed in dropwizard-validation versions 1.3.21 and 2.0.3 or later. The fix includes disabling EL expression evaluation by default and introducing new addViolation methods that support message parameters instead of EL expressions. For users unable to upgrade, a workaround involves properly sanitizing any message added to the ViolationCollector in methods annotated with @SelfValidation. The fix also includes the option to explicitly allow expression interpolation through SelfValidating#escapeExpressions() (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management