{"id":"GHSA-7x92-2j68-h32c","aliases":["GHSA-7x92-2j68-h32c"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal in featurebook","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-01T19:03:02.000Z","modified":"2020-08-31T18:27:38.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"npm","package":"featurebook","purl":"pkg:npm/featurebook","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/296305","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/556","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7x92-2j68-h32c","url":"https://github.com/advisories/GHSA-7x92-2j68-h32c","licence":"CC-BY-4.0","modified":"2020-08-31T18:27:38.000Z"}],"updatedAt":"2026-11-25T22:56:44.617Z"}