Live threats

All CVEs / St Project

CVE-2017-16224St Project St

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Jun 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-601
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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").

Original NVD text.

What to do

  1. Apply the vendor's security update for St.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm st < 1.2.2 1.2.2 npm install st@1.2.2

Per OSV / GitHub Advisories (GHSA-72fg-jqhx-c68p). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
st_projectst≤ 1.2.1

Official sources

References

Links published by the sources. Open them with care.