GHSA-5w8q-x7hc-jhp6

Suggest an improvement
Source
https://github.com/advisories/GHSA-5w8q-x7hc-jhp6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-5w8q-x7hc-jhp6/GHSA-5w8q-x7hc-jhp6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5w8q-x7hc-jhp6
Aliases
  • CVE-2017-16083
Published
2018-07-24T19:42:39Z
Modified
2023-11-08T03:59:03.820332Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Directory Traversal in node-simple-router
Details

Affected versions of node-simple-router resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.

Example request:

GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo

Recommendation

Update to v0.10.1 or later.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:17:29Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / node-simple-router

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-5w8q-x7hc-jhp6/GHSA-5w8q-x7hc-jhp6.json"
last_known_affected_version_range
"<= 0.10.0"