Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-wpcv-5jgp-69f3

CRITICAL

GHSA-wpcv-5jgp-69f3 is a critical-severity (CVSS 9.9) Path Traversal vulnerability in com.netflix.genie:genie-web. O3 Security confirms whether GHSA-wpcv-5jgp-69f3 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Genie Path Traversal vulnerability via File Uploads

Also known asCVE-2024-4701
Published
May 9, 2024
Updated
May 14, 2024
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed

Blast Radius

1 pkg affected
com.netflix.genie:genie-web

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Overview

Path Traversal Vulnerability via File Uploads in Genie

Impact

Any Genie OSS users running their own instance and relying on the filesystem to store file attachments submitted to the Genie application may be impacted. Using this technique, it is possible to write a file with any user-specified filename and file contents to any location on the file system that the Java process has write access - potentially leading to remote code execution (RCE).

Genie users who do not store these attachments locally on the underlying file system are not vulnerable to this issue.

Description

Genie's API accepts a multipart/form-data file upload which can be saved to a location on disk. However, it takes a user-supplied filename as part of the request and uses this as the filename when writing the file to disk. Since this filename is user-controlled, it is possible for a malicious actor to manipulate the filename in order to break out of the default attachment storage path and perform path traversal.

Using this technique it is possible to write a file with any user specified name and file contents to any location on the file system that the Java process has write access to.

Patches

This path traversal issue is fixed in Genie OSS v4.3.18. This issue was fixed in https://github.com/Netflix/genie/pull/1216 and https://github.com/Netflix/genie/pull/1217 and a new release with the fix was created. Please, upgrade your Genie OSS instances to the new version.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
Mavencom.netflix.genie:genie-weball versions4.3.18

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.netflix.genie:genie-web. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update com.netflix.genie:genie-web to 4.3.18 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-wpcv-5jgp-69f3 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-wpcv-5jgp-69f3 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-wpcv-5jgp-69f3. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Overview Path Traversal Vulnerability via File Uploads in Genie ### Impact Any Genie OSS users running their own instance and relying on the filesystem to store file attachments submitted to the Genie application may be impacted. Using this technique, it is possible to write a file with any user-specified filename and file contents to any location on the file system that the Java process has write access - potentially leading to remote code execution (RCE). Genie users who do not store these attachments locally on the underlying file system are not vulnerable to this issue. ### Descr
O3 Security · Impact-Aware SCA

Is GHSA-wpcv-5jgp-69f3 in your dependencies?

O3 detects GHSA-wpcv-5jgp-69f3 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.