Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.netflix.genie/genie-web
  4. ›
  5. CVE-2024-4701

CVE-2024-4701: Genie Path Traversal vulnerability via File Uploads

May 9, 2024

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.

References

  • github.com/Netflix/genie
  • github.com/Netflix/genie/commit/6bad017d8078c94e80d6c6fe8abd693910bf55cf
  • github.com/Netflix/genie/pull/1217
  • github.com/Netflix/genie/releases/tag/v4.3.18
  • github.com/Netflix/genie/security/advisories/GHSA-wpcv-5jgp-69f3
  • github.com/advisories/GHSA-wpcv-5jgp-69f3
  • nvd.nist.gov/vuln/detail/CVE-2024-4701

Code Behaviors & Features

Detect and mitigate CVE-2024-4701 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.3.18

Fixed versions

  • 4.3.18

Solution

Upgrade to version 4.3.18 or above.

Impact 9.9 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/com.netflix.genie/genie-web/CVE-2024-4701.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:57 +0000.