{"id":"GHSA-c4qr-gmr9-v23w","revision":null,"records":[{"revision":"f6e170e653bf424282bdfd16ca013350","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-21322","aliases":[],"title":"Prefix escape","description":"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.","state":0,"publishedAt":"2021-03-02T03:35:17+00:00","modifiedAt":"2024-08-03T18:09:15.229+00:00","affected":[{"ecosystem":"Vendor product","name":"fastify-http-proxy","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"fastify-http-proxy\",\n                    \"vendor\": \"fastify\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 4.3.1\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":"CRITICAL"}],"references":["https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w","https://www.npmjs.com/package/fastify-http-proxy","https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-21322","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-21322","identifiers":["CVE-2021-21322"]},"retained":false,"historicalAffected":[]},{"revision":"3067f9fc285c4e759645d04e5f204de0","observedAt":"2026-11-24T11:33:41.645+00:00","statement":{"source":"euvd","id":"EUVD-2021-0642","aliases":["CVE-2021-21322","GHSA-c4qr-gmr9-v23w"],"title":"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…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":null}],"references":["https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w","https://www.npmjs.com/package/fastify-http-proxy","https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0642","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 2, 2021, 3:35:17 AM","dateUpdated":"Aug 3, 2024, 6:09:15 PM"},"relatedAdvisories":[{"id":"RHSA-2021:3016","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes version 2.3","vulnerabilityIds":["CVE-2020-28469","CVE-2020-28500","CVE-2020-28851","CVE-2020-28852","CVE-2021-3377","CVE-2021-21272","CVE-2021-21309","CVE-2021-21321","CVE-2021-21322","CVE-2021-23337","CVE-2021-23343","CVE-2021-23346","CVE-2021-23362","CVE-2021-23364","CVE-2021-23368","CVE-2021-23369","CVE-2021-23382","CVE-2021-23383","CVE-2021-23839","CVE-2021-23840","CVE-2021-23841","CVE-2021-27292","CVE-2021-27358","CVE-2021-28092","CVE-2021-28918","CVE-2021-29418","CVE-2021-29477","CVE-2021-29478","CVE-2021-29482","CVE-2021-33502","CVE-2021-33623"]},{"id":"RHSA-2021:1168","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.2.2 security and bug fix update","vulnerabilityIds":["CVE-2020-14040","CVE-2020-28500","CVE-2020-28851","CVE-2020-28852","CVE-2020-29529","CVE-2021-21321","CVE-2021-21322","CVE-2021-23337","CVE-2021-23840","CVE-2021-23841"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-0642","identifiers":["EUVD-2021-0642","CVE-2021-21322","GHSA-c4qr-gmr9-v23w"]},"retained":false,"historicalAffected":[]},{"revision":"700c0c714fd248e1b874f6cd61cdcac4","observedAt":"2026-10-24T17:17:33.481+00:00","statement":{"source":"nvd","id":"CVE-2021-21322","aliases":[],"title":"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…","description":"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.","state":0,"publishedAt":"2021-03-02T04:15:12.597+00:00","modifiedAt":"2026-06-17T03:35:17.69+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"severity":"CRITICAL"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"severity":"HIGH"}],"references":["https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016","https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w","https://www.npmjs.com/package/fastify-http-proxy"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-21322","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-20"],"productCriteria":["cpe:2.3:a:fastify-http-proxy_project:fastify-http-proxy:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2021-03-02T04:15:12.597","lastModified":"2026-06-17T03:35:17.690"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-21322","identifiers":["CVE-2021-21322"]},"retained":false,"historicalAffected":[]},{"revision":"59df61c351ff4a16bd2ec6575e99465a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-c4qr-gmr9-v23w","aliases":["CVE-2021-21322"],"title":"Prefix escape","description":"### Impact\n\nBy crafting a specific URL, it is possible to escape the prefix of the proxied backend service.\nIf 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.\n\n[CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N)\n\n### Patches\n\nAll releases after v4.3.1 include the fix.\n\n### Workarounds\n\nThere are no workaround available.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [fastify-reply-from](https://github.com/fastify/fastify-reply-from)\n* Email us at [hello@matteocollina.com](mailto:hello@matteocollina.com)","state":0,"publishedAt":"2021-03-03T02:18:08+00:00","modifiedAt":"2026-07-08T06:28:05.1808122+00:00","affected":[{"ecosystem":"npm","name":"fastify-http-proxy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.3.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w","https://nvd.nist.gov/vuln/detail/CVE-2021-21322","https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016","https://www.npmjs.com/package/fastify-http-proxy"],"sourceUrl":"https://github.com/advisories/GHSA-c4qr-gmr9-v23w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-c4qr-gmr9-v23w","identifiers":["GHSA-c4qr-gmr9-v23w","CVE-2021-21322"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8059403+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8059408+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-c8a5bbe81e5c97f1ef0204d9f424811c3ab0e015216b17be9cd9061ec365cc09","complete":true,"records":432153,"lastAttemptAt":"2026-11-25T15:28:37.3830721+00:00","lastSuccessAt":"2026-11-25T15:28:37.2582332+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.3830721+00:00","snapshotPublishedAt":"2026-11-25T14:30:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5922d9804a9248789f8c2f7e9396c714","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T15:41:09.4114251+00:00","lastSuccessAt":"2026-11-25T15:41:09.407+00:00","error":"129 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T15:41:09.407+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13600,"expectedIdentifiers":13986,"failedIdentifiers":129},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8067671+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8067672+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-91a1844a9c234a33bf5df077b2f01fa3","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T15:30:41.8818771+00:00","lastSuccessAt":"2026-11-25T15:30:41.877+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:41.877+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T15:30:40.4787181+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.4787181+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T15:28:37.4627555+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.4627555+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T15:30:40.5768219+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.5768219+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-5747fce78879ab80d0039caa02f9d28c583bbc680a45e25fa53cb124697761ff","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T15:30:40.354568+00:00","lastSuccessAt":"2026-11-25T15:30:39.1946895+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.354568+00:00","snapshotPublishedAt":"2026-11-25T15:03:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}