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