CVE-2024-35219: high-severity vulnerability in OpenAPITools openapi-generator
OpenAPI Generator Online - Arbitrary File Read/Delete
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
58Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 8.3epss 3.6%
from disclosure to weapon
Published on NVDMay 27
VulnCheck+192d
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Affected products
OpenAPITools · openapi-generatorRelated CVEs — OpenAPITools openapi-generator
In the same product, most dangerous first.
CVE-2021-21430MEDIUMCreation of Temporary File in Directory with Insecure Permissions in auto-generated Java, Scala codeEPSS 0.4%CVE-2021-21428CRITICALCreation of Temporary File in Directory with Insecure Permissions in the OpenAPI-Generator online generatorEPSS 0.4%CVE-2021-21429MEDIUMCreation of Temporary File in Directory with Insecure Permissions in the OpenAPI Generator Maven pluginEPSS 0.3%