Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWM0cXItZ21yOS12MjN3
Prefix escape
Impact
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. Unfortunately, it is.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Patches
All releases after v4.3.1 include the fix.
Workarounds
There are no workaround available.
For more information
If you have any questions or comments about this advisory:
- Open an issue in fastify-reply-from
- Email us at [email protected]
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWM0cXItZ21yOS12MjN3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: almost 4 years ago
Updated: almost 2 years ago
CVSS Score: 10.0
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
EPSS Percentage: 0.00318
EPSS Percentile: 0.70759
Identifiers: GHSA-c4qr-gmr9-v23w, CVE-2021-21322
References:
- https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-c4qr-gmr9-v23w
- https://github.com/fastify/fastify-http-proxy/commit/02d9b43c770aa16bc44470edecfaeb7c17985016
- https://www.npmjs.com/package/fastify-http-proxy
- https://nvd.nist.gov/vuln/detail/CVE-2021-21322
- https://github.com/advisories/GHSA-c4qr-gmr9-v23w
Blast Radius: 22.9
Affected Packages
npm:fastify-http-proxy
Dependent packages: 37Dependent repositories: 195
Downloads: 8,548 last month
Affected Version Ranges: < 4.3.1
Fixed in: 4.3.1
All affected versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.8.0, 1.0.0, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.2.0, 2.3.0, 3.0.0, 3.1.0, 3.2.0, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 4.2.0, 4.3.0
All unaffected versions: 4.3.1, 4.4.0, 5.0.0, 6.0.0, 6.0.1, 6.1.0, 6.2.0, 6.2.1, 6.2.2, 6.3.0