Skip to content
Fencer Intel
medium —

GHSA-7x92-2j68-h32c json

Directory Traversal in featurebook

published 6y ago modified 6y ago

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

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.

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.

Is GHSA-7x92-2j68-h32c in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
npm featurebook
all versions
no fix listed

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.