GHSA-7x92-2j68-h32c

Suggest an improvement
Source
https://github.com/advisories/GHSA-7x92-2j68-h32c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-7x92-2j68-h32c/GHSA-7x92-2j68-h32c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7x92-2j68-h32c
Published
2020-09-01T19:03:02Z
Modified
2020-08-31T18:27:38Z
Summary
Directory Traversal in featurebook
Details

Affected versions of featurebook 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.

The featurebook package is not intended to be run in production code nor to be exposed to an untrusted network.

Proof of Concept

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

Recommendation

No direct patch is currently available.

At this time, the best mitigation is to ensure that featurebook is not running in production or exposed to an untrusted network.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:27:38Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

npm / featurebook

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-7x92-2j68-h32c/GHSA-7x92-2j68-h32c.json"