CVE-2018-3730
JSON

7.5high

Path Traversal in mcstatic

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.99% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
GHSA-3r8f-gphx-9m2c

Description

mcstatic node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.

Affected

Product or packageVersionsReported by
HackerOne mcstatic node moduleAll versionsCVE List
mcstatic (npm)up to 0.0.20GitHub Advisory Database
mcstatic_project mcstatic0.0.20NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

mcstatic node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.

GitHub Advisory Database

All versions of mcstatic are vulnerable to path traversal.

Recommendation

No fix is currently available for this vulnerability. It is our recommendation to not install or use this module at this time.

NVD (es)

El módulo de node mcstatic sufre de una vulnerabilidad de salto de directorio debido a la falta de validación de filePath, que permite que un usuario malicioso lea contenido de cualquier archivo con una ruta conocida.

References

Sources

SourceRecordLicence
CVE ListCVE-2018-3730 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-3r8f-gphx-9m2c changed 2023-11-08CC-BY-4.0
NVDCVE-2018-3730 changed 2026-06-17Public domain