ADVISORIES

GitHub Advisory Database

GHSA-g3hr-p86p-593h

OpenAPI Generator Online - Arbitrary File Read/Delete

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.openapitools:openapi-generator-online
All versions before 7.6.0 (fixed in 7.6.0)

References