CVE-2021-23387
Open Redirect in trailing-slash
5.4
MEDIUM
CVSS 3.1
EPSS 0.26%
描述
The package trailing-slash before 2.0.1 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::createTrailing(), as the web server uses relative URLs instead of absolute URLs.
如何修補 CVE-2021-23387
要修補 CVE-2021-23387,請將受影響套件升級到下列已修補版本。
- —升級至 2.0.1 或更新版本
CVE-2021-23387 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 2.0.1
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 |