CVE-2021-23384
Open Redirect in koa-remove-trailing-slashes
5.4
MEDIUM
CVSS 3.1
EPSS 0.21%
描述
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.
如何修補 CVE-2021-23384
要修補 CVE-2021-23384,請將受影響套件升級到下列已修補版本。
- —升級至 2.0.2 或更新版本
CVE-2021-23384 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 2.0.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |