Lucene search

K
cvelistGitHub_MCVELIST:CVE-2021-21322
HistoryMar 02, 2021 - 3:35 a.m.

CVE-2021-21322 Prefix escape

2021-03-0203:35:17
CWE-20
GitHub_M
www.cve.org
2
cve-2021-21322
prefix escape
fastify-http-proxy
npm package
http requests
proxying
security vulnerability
fixed 4.3.1

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

AI Score

9.5

Confidence

High

EPSS

0.003

Percentile

70.7%

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.

CNA Affected

[
  {
    "product": "fastify-http-proxy",
    "vendor": "fastify",
    "versions": [
      {
        "status": "affected",
        "version": "< 4.3.1"
      }
    ]
  }
]

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

AI Score

9.5

Confidence

High

EPSS

0.003

Percentile

70.7%