CVE-2024-35219 HIGH

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

Vendor Openapitools
Product openapi-generator
Weakness CWE-22 · Path traversal
Published May 27, 2024
Last update August 2, 2024

CVSS base score

8.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity High

CVSS vector

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

What the vulnerability does

01Description

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Prior to version 7.6.0, attackers can exploit a path traversal 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. The issue was fixed in version 7.6.0 by removing the usage of the `outputFolder` option. No known workarounds are available.

Key dates

02Disclosure timeline

May 27, 2024 CVE published
August 2, 2024 Record updated