GHSA-qmw8-3v4g-gwj4

Suggest an improvement
Source
https://github.com/advisories/GHSA-qmw8-3v4g-gwj4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-qmw8-3v4g-gwj4/GHSA-qmw8-3v4g-gwj4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qmw8-3v4g-gwj4
Aliases
Published
2021-03-03T01:52:05Z
Modified
2026-07-08T06:29:17Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
Prefix escape
Details

Impact

By crafting a specific URL, it is possible to escape the prefix of the proxied backend service. If the base url of the proxied server is /pub/, a user expect that accessing /priv on the target service would not be possible. Unfortunately, it is.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Patches

A patch have been submitted by Corey Farrell git@cfware.com, the reporter. All releases after v4.0.2 include the fix.

Workarounds

There are no workaround available.

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-20"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-03-02T03:32:13Z",
    "nvd_published_at":  "2021-03-02T04:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / fastify-reply-from

Package

Name
fastify-reply-from
View open source insights on deps.dev
Purl
pkg:npm/fastify-reply-from

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-qmw8-3v4g-gwj4/GHSA-qmw8-3v4g-gwj4.json"