Skip to content

Directory Traversal in bitty

Moderate severity GitHub Reviewed Published Feb 18, 2019 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm bitty (npm)

Affected versions

<= 0.2.10

Patched versions

None

Description

Affected versions of bitty are vulnerable to directory traversal via the URL path in GET requests.

Recommendation

The bitty package is not currently maintained, and has not seen an update since 2015.

At this time, the best available mitigation is to use an alternative module that is actively maintained and provides similar functionality, such as serve.

References

Published to the GitHub Advisory Database Feb 18, 2019
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(57th percentile)

Weaknesses

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Learn more on MITRE.

CVE ID

CVE-2016-10561

GHSA ID

GHSA-f5mh-hq6h-whxv

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.