HIGH8.3
GHSA-g3hr-p86p-593h
OpenAPI Generator Online - Arbitrary File Read/Delete
Quick fix
GHSA-g3hr-p86p-593h — org.openapitools:openapi-generator-online: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.6.0</version> for org.openapitools:openapi-generator-onlineDetails
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.openapitools:openapi-generator-online
Introduced in:
0Fixed in: 7.6.0Fix
# pom.xml: bump <version>7.6.0</version> for org.openapitools:openapi-generator-onlineReferences
- https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-35219[ADVISORY]
- https://github.com/OpenAPITools/openapi-generator/pull/18652[WEB]
- https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d[WEB]
- https://github.com/OpenAPITools/openapi-generator[PACKAGE]