Lucene search

K
cvelistSnykCVELIST:CVE-2021-23384
HistoryMay 17, 2021 - 5:45 p.m.

CVE-2021-23384 Open Redirect

2021-05-1717:45:12
snyk
www.cve.org
3
package vulnerability
open redirect
trailing slashes
url
relative urls

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C

AI Score

5.8

Confidence

High

EPSS

0.001

Percentile

40.7%

The package koa-remove-trailing-slashes before 2.0.2 are vulnerable to Open Redirect via the use of trailing double slashes in the URL when accessing the vulnerable endpoint (such as https://example.com//attacker.example/). The vulnerable code is in index.js::removeTrailingSlashes(), as the web server uses relative URLs instead of absolute URLs.

CNA Affected

[
  {
    "product": "koa-remove-trailing-slashes",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "2.0.2",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C

AI Score

5.8

Confidence

High

EPSS

0.001

Percentile

40.7%

Related for CVELIST:CVE-2021-23384