CVE-2021-21322

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

fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. 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.3.1.

References

Affected packages

Git / github.com/fastify/fastify-http-proxy

Affected ranges

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

Affected versions

v0.*

v0.1.1
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.6.0
v0.7.0
v0.8.0

v1.*

v1.0.0

v2.*

v2.0.1
v2.0.2
v2.0.3
v2.1.0
v2.2.0
v2.3.0

v3.*

v3.0.0
v3.1.0
v3.2.0

v4.*

v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.1.0
v4.2.0
v4.3.0