logo

GHSA-q324-q795-2q5p @redocly/openapi-cli

Package

Manager: npm
Name: @redocly/openapi-cli
Vulnerable Version: >=0 <1.0.0-beta.59

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Path traversal when using `preview-docs` when working dir contains files with question mark `?` in name ### Impact `preview-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: * Open an issue in [@redocly/openapi-cli](https://github.com/Redocly/openapi-cli) * Email us at [security@redocly.com](mailto:security@redocly.com)

Metadata

Created: 2021-10-12T16:05:11Z
Modified: 2021-10-11T18:40:44Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-q324-q795-2q5p/GHSA-q324-q795-2q5p.json
CWE IDs: []
Alternative ID: N/A
Finding: F063
Auto approve: 1