Vert.xApplication · Eclipse

CVE-2019-17640

CRITICAL · 9.8 CVSS v3.1 Published 2020-10-15
Fix available
A fix is available. Upgrade to after 3.9.4 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In Eclipse Vert.x 3.4.x up to 3.9.4, 4.0.0.milestone1, 4.0.0.milestone2, 4.0.0.milestone3, 4.0.0.milestone4, 4.0.0.milestone5, 4.0.0.Beta1, 4.0.0.Beta2, and 4.0.0.Beta3, StaticHandler doesn't correctly processes back slashes on Windows Operating systems, allowing, escape the webroot folder to the current working directory.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The StaticHandler in Eclipse Vert.x versions 3.4.x through 3.9.4 and 4.0.0 milestones/betas has a path traversal vulnerability specific to Windows. The handler fails to properly process backslashes in file paths, allowing attackers to escape the configured webroot folder and access files in the current working directory and potentially sensitive system files outside the intended static file directory.

MitigationUpgrade Eclipse Vert.x to version 3.9.5 or 4.0.0 or later which contains the corrected path handling. As a temporary workaround on Windows, implement input validation to reject URLs containing backslashes or conduct thorough review of static file serving configurations.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Vert.xApplication
Affected:>= 3.4.0, <= 3.9.4= 4.0.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Vert.x installation and version
    Inspect project build files (pom.xml, build.gradle, or build.gradle.kts) for org.eclipse.jetty:vertx-core dependency and note the version number. For deployed applications, check the classpath or lib folder for vertx-core jar files and their version metadata.
    Affected if The reported Vert.x version falls within 3.4.0 to 3.9.4 inclusive, or is 4.0.0 milestone/beta.
  2. Confirm operating system is Windows
    Check the operating system where the Vert.x application runs using 'systeminfo' on Windows or inspect environment variables (OS, WINDIR, or similar). This vulnerability is Windows-specific.
    Affected if The application runs on any Windows version, as the path traversal exploits backslash handling unique to Windows.
  3. Locate StaticHandler usage in code
    Search application source code for imports of io.vertx.ext.web.Router and look for occurrences of 'StaticHandler.create' or 'Router.route' with 'StaticHandler' as the handler. Also check for any route definitions serving static content.
    Affected if The application code explicitly uses StaticHandler to serve static files from a webroot directory.
  4. Inspect StaticHandler configuration
    Review the StaticHandler configuration in the code, specifically looking for setWebRoot or similar methods that define the static file directory. Identify the configured webroot path.
    Affected if StaticHandler is configured with a webroot directory, as the vulnerability allows escaping this directory.
  5. Check for backslash handling in requests
    Examine URL request handling or proxy logs to see if incoming requests containing backslashes (URL-encoded as %5C) are accepted. If possible, test a request to a path like /..%5C..%5C/ to observe behavior.
    Affected if The server accepts and processes URLs containing backslashes without rejecting or normalizing them.

You are affected if you run Eclipse Vert.x versions 3.4.0 through 3.9.4 or 4.0.0 milestones on Windows, and your application uses the StaticHandler to serve static files.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 3.9.4
Interim mitigation

Upgrade Eclipse Vert.x to version 3.9.5 or 4.0.0 or later which contains the corrected path handling. As a temporary workaround on Windows, implement input validation to reject URLs containing backslashes or conduct thorough review of static file serving configurations.

Recommended fix Moderate confidence

Vert.x 3.9.5 or later for 3.x branch; Vert.x 4.0.0 final or later for 4.x branch

  1. 1. Identify all Vert.x instances running versions 3.4.0 through 3.9.4 or 4.0.0 milestone/beta versions
  2. 2. Review the application for use of StaticHandler serving static files
  3. 3. Plan upgrade to fixed release (3.9.5 or later for 3.x branch, 4.0.0 final or later for 4.x branch)
  4. 4. Test the upgrade in a non-production environment, particularly on Windows deployments using StaticHandler
  5. 5. Deploy the upgraded version to production
Caveat Minor version upgrades in Vert.x may include API additions and behavioral changes - review release notes before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Vert.x Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,720
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2019-17640 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2019-17640 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data