{"id":"GHSA-7x92-2j68-h32c","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.\n\nThe `featurebook` package is not intended to be run in production code nor to be exposed to an untrusted network.\n\n\n## Proof of Concept\n```\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\n\n\n## Recommendation\n\nNo direct patch is currently available.\n\nAt this time, the best mitigation is to ensure that `featurebook` is not running in production or exposed to an untrusted network.","modified":"2020-08-31T18:27:38Z","published":"2020-09-01T19:03:02Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:27:38Z","nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://hackerone.com/reports/296305"},{"type":"WEB","url":"https://www.npmjs.com/advisories/556"}],"affected":[{"package":{"name":"featurebook","ecosystem":"npm","purl":"pkg:npm/featurebook"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"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"}}],"schema_version":"1.9.0"}