Kurz gesagt
- CVE-2024-35219 ist eine Schwachstelle (HOCH (CVSS 8.3)) in org.openapitools:openapi-generator-online.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 3.6%, höher als bei 89.5% aller Schwachstellen.
- Abhilfe: auf 7.6.0 oder neuer aktualisieren.
Description
Impact
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.
Patches
The issue was fixed via https://github.com/OpenAPITools/openapi-generator/pull/18652 (included in v7.6.0 release) by removing the usage of the outputFolder option.
Workarounds
No workaround available.
References
No other reference available.
NVD description
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.
Weitere Schwachstellen in org.openapitools:openapi-generator-online
Alle anzeigen →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free