{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21322","published":"2021-03-02T04:15:12.597000Z","last_modified":"2026-06-17T03:35:17.690000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:fastify-http-proxy_project:fastify-http-proxy:*:*:*:*:*:node.js:*:*","part":"a","vendor":"fastify-http-proxy_project","product":"fastify-http-proxy","version_end_excluding":"4.3.1"}],"cpes_truncated":false,"vendors":["fastify-http-proxy_project"],"products":["fastify-http-proxy_project/fastify-http-proxy"],"epss":{"score":0.01647,"percentile":0.76903,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c4qr-gmr9-v23w","ecosystem":"npm","name":"fastify-http-proxy","purl":"pkg:npm/fastify-http-proxy","ranges":[{"introduced":"0","fixed":"4.3.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-21322/","html_en":"/en/cve/CVE-2021-21322/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21322","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21322"},"untrusted":{"vendor_name":"Fastify-http-proxy Project","product_name":"Fastify-http-proxy","desc_en":"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.","affected":[{"untrusted_vendor":"fastify","untrusted_product":"fastify-http-proxy","versions":[]}],"references":[{"url":"https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w","tags":["Third Party Advisory"]},{"url":"https://www.npmjs.com/package/fastify-http-proxy","tags":["Product","Third Party Advisory"]}]}}