Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.dropwizard/dropwizard-validation
  4. ›
  5. CVE-2020-5245

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

February 24, 2020 (updated July 3, 2025)

A server-side template injection was identified in the self-validating (@SelfValidating) feature of dropwizard-validation enabling attackers to inject arbitrary Java EL expressions, leading to Remote Code Execution (RCE) vulnerability.

If you’re using a self-validating bean (via @SelfValidating), an upgrade to Dropwizard 1.3.19 or 2.0.2 is strongly recommended.

References

  • beanvalidation.org/2.0/spec/
  • docs.jboss.org/hibernate/validator/6.1/reference/en-US/html_single/
  • docs.oracle.com/javaee/7/tutorial/jsf-el.htm
  • github.com/advisories/GHSA-3mcp-9wr4-cjqf
  • github.com/dropwizard/dropwizard
  • github.com/dropwizard/dropwizard/commit/28479f743a9d0aab6d0e963fc07f3dd98e8c8236
  • github.com/dropwizard/dropwizard/commit/d87d1e4f8e20f6494c0232bf8560c961b46db634
  • github.com/dropwizard/dropwizard/pull/3157
  • github.com/dropwizard/dropwizard/pull/3160
  • github.com/dropwizard/dropwizard/security/advisories/GHSA-3mcp-9wr4-cjqf
  • nvd.nist.gov/vuln/detail/CVE-2020-5245
  • www.oracle.com/security-alerts/cpuapr2022.html

Code Behaviors & Features

Detect and mitigate CVE-2020-5245 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.3.0-rc1 before 1.3.19, all versions starting from 2.0.0 before 2.0.2

Fixed versions

  • 1.3.19
  • 2.0.2

Solution

Upgrade to versions 1.3.19, 2.0.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

maven/io.dropwizard/dropwizard-validation/CVE-2020-5245.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:59 +0000.