Loading HuntDB...

GHSA-8xj3-7258-w4q2

GitHub Security Advisory

Directory Traversal in dasafio

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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

**Example request:**
```http
GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo
```

## Recommendation

No patch is available for this vulnerability.

It is recommended that the package is only used for local development, and if the functionality is needed for production, a different package is used instead.

Affected Packages

npm dasafio
Affected versions: 0.0.0

Related CVEs

Key Information

GHSA ID
GHSA-8xj3-7258-w4q2
Published
September 1, 2020 6:51 PM
Last Modified
September 11, 2023 8:32 PM
CVSS Score
5.0 /10
Primary Ecosystem
npm
Primary Package
dasafio
GitHub Reviewed
✓ Yes

Dataset

Last updated: August 30, 2025 6:32 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.