{"url":"http://public2.vulnerablecode.io/api/packages/518515?format=json","purl":"pkg:npm/%40redocly/openapi-cli@1.0.0-beta.3","type":"npm","namespace":"@redocly","name":"openapi-cli","version":"1.0.0-beta.3","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"1.0.0-beta.59","latest_non_vulnerable_version":"1.0.0-beta.59","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/361135?format=json","vulnerability_id":"VCID-thdh-eejp-vbeq","summary":"Path traversal when using `preview-docs` when working dir contains files with question mark `?` in name\n### Impact\n`preview-docs` command allows path traversal if current working dir contains files with question mark `?` in name and attacker knows the name.\n\n### Patches\nIt was patched starting from 1.0.0-beta.59\n\n### Workarounds\nDo not run openapi-cli preview-docs command in the folder which contains files with question mark `?` in name.\n\n### References\nhttps://github.com/Redocly/openapi-cli/pull/347\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [@redocly/openapi-cli](https://github.com/Redocly/openapi-cli)\n* Email us at [security@redocly.com](mailto:security@redocly.com)","references":[{"reference_url":"https://github.com/Redocly/openapi-cli","reference_id":"","reference_type":"","scores":[{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/Redocly/openapi-cli"},{"reference_url":"https://github.com/Redocly/openapi-cli/pull/347","reference_id":"","reference_type":"","scores":[{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/Redocly/openapi-cli/pull/347"},{"reference_url":"https://github.com/Redocly/openapi-cli/security/advisories/GHSA-q324-q795-2q5p","reference_id":"","reference_type":"","scores":[{"value":"LOW","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/Redocly/openapi-cli/security/advisories/GHSA-q324-q795-2q5p"},{"reference_url":"https://github.com/advisories/GHSA-q324-q795-2q5p","reference_id":"GHSA-q324-q795-2q5p","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-q324-q795-2q5p"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/382219?format=json","purl":"pkg:npm/%40redocly/openapi-cli@1.0.0-beta.59","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540redocly/openapi-cli@1.0.0-beta.59"}],"aliases":["GHSA-q324-q795-2q5p","GMS-2021-29"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-thdh-eejp-vbeq"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540redocly/openapi-cli@1.0.0-beta.3"}