@redocly/openapi-cli
Affected
- introduced
0, fixed1.0.0-beta.59(semver)
Fixed versions
1.0.0-beta.59
Fix
- Fixed version
1.0.0-beta.59npm install @redocly/[email protected]
Advisory
Also known as: None
Path traversal when using preview-docs when working dir contains files with question mark ? in name
Impactpreview-docs command allows path traversal if current working dir contains files with question mark ? in name and attacker knows the name.
Patches
It was patched starting from 1.0.0-beta.59
Workarounds
Do not run openapi-cli preview-docs command in the folder which contains files with question mark ? in name.
References
https://github.com/Redocly/openapi-cli/pull/347
For more information
If you have any questions or comments about this advisory:
Low Basis: The source's own band: LOW
0, fixed 1.0.0-beta.59 (semver)1.0.0-beta.59
1.0.0-beta.59npm install @redocly/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0