GHSA-Q324-Q795-2Q5P
Vulnerability from github – Published: 2021-10-12 16:05 – Updated: 2021-10-11 18:40
VLAI?
Summary
Path traversal when using `preview-docs` when working dir contains files with question mark `?` in name
Details
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 * Email us at security@redocly.com
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 1.0.0-beta.58"
},
"package": {
"ecosystem": "npm",
"name": "@redocly/openapi-cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.0-beta.59"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2021-10-11T18:40:44Z",
"nvd_published_at": null,
"severity": "LOW"
},
"details": "### 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)\n",
"id": "GHSA-q324-q795-2q5p",
"modified": "2021-10-11T18:40:44Z",
"published": "2021-10-12T16:05:11Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/Redocly/openapi-cli/security/advisories/GHSA-q324-q795-2q5p"
},
{
"type": "WEB",
"url": "https://github.com/Redocly/openapi-cli/pull/347"
},
{
"type": "PACKAGE",
"url": "https://github.com/Redocly/openapi-cli"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Path traversal when using `preview-docs` when working dir contains files with question mark `?` in name"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…