Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.openapitools/openapi-generator-online
  4. ›
  5. CVE-2024-35219

CVE-2024-35219: OpenAPI Generator Online - Arbitrary File Read/Delete

May 28, 2024

Attackers can exploit the vulnerability to read and delete files and folders from an arbitrary, writable directory as anyone can set the output folder when submitting the request via the outputFolder option.

References

  • github.com/OpenAPITools/openapi-generator
  • github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d
  • github.com/OpenAPITools/openapi-generator/pull/18652
  • github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h
  • github.com/advisories/GHSA-g3hr-p86p-593h
  • nvd.nist.gov/vuln/detail/CVE-2024-35219

Code Behaviors & Features

Detect and mitigate CVE-2024-35219 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 7.6.0

Fixed versions

  • 7.6.0

Solution

Upgrade to version 7.6.0 or above.

Impact 8.3 HIGH

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

Learn more about CVSS

Weakness

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

Source file

maven/org.openapitools/openapi-generator-online/CVE-2024-35219.yml

Spotted a mistake? Edit the file on GitLab.

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

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