CVE-2017-16224 json
Open Redirect in st
published 8y ago modified 4mo ago also GHSA-72fg-jqhx-c68p , EUVD-2018-0375
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
st is a module for serving static files. An attacker is able to craft a request that results in an HTTP 301 (redirect) to an entirely different domain. A request for: http://some.server.com//nodesecurity.org/%2e%2e would result in a 301 to //nodesecurity.org/%2e%2e which most browsers treat as a proper redirect as // is translated into the current schema being used. Mitigating factor: In order for this to work, st must be serving from the root of a server (/) rather than the typical sub directory (/static/) and the redirect URL will end with some form of URL encoded .. ("%2e%2e", "%2e.", ".%2e").
Patch / fix
- npm st 1.2.2
Is CVE-2017-16224 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 FencerExploit prediction
0.87% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- nodesecurity.io https://nodesecurity.io/advisories/547 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | st | <1.2.2 |
1.2.2 |
Affected products
- HackerOne st node module
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
nodesecurity.io
/advisories/547
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-16224
advisory
-
github.com
/advisories/GHSA-72fg-jqhx-c68p
advisory
-
npmjs.com
/advisories/547
web
Sources
- CVE List CVE-2017-16224
- GitHub Advisory GHSA-72fg-jqhx-c68p
- NVD CVE-2017-16224
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.