CVE-2021-21321

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-21321
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21321.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-21321
Aliases
Related
Published
2021-03-02T04:15:12Z
Modified
2025-01-08T10:33:48.474359Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. In fastify-reply-from before version 4.0.2, 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. In affected versions, it is possible. This is fixed in version 4.0.2.

References

Affected packages

Git / github.com/fastify/fastify-reply-from

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-reply-from
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.4.1
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.5.0
v0.5.2
v0.5.3
v0.5.4
v0.6.0
v0.6.1
v0.6.2

v1.*

v1.0.0
v1.1.0

v2.*

v2.0.0
v2.0.1
v2.2.0

v3.*

v3.0.0
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.2.0
v3.3.0
v3.4.0
v3.5.0

v4.*

v4.0.0