~ / search / GHSA-g3hr-p86p-593h

GHSA-g3hr-p86p-593h

OpenAPI Generator Online - Arbitrary File Read/Delete

Source: GitHub Advisory Database (reviewed) High CVE-2024-35219

Packages

EcosystemPackageAffectedFixed in
Maven org.openapitools:openapi-generator-online < 7.6.0 7.6.0

Details

As written in the advisory (Markdown source, shown as plain text).

### 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.

References

External links from the advisory. They lead to third-party sites.