CVE-2026-5222
Cargo can be coerced to share credentials between registries
6.5
MEDIUM
CVSS 3.1
EPSS 0.33%
描述
Cargo between 1.68 and 1.96 incorrectly normalized the URLs of third-party registries using the sparse index protocol. If a hosting provider allowed multiple registries to be hosted with arbitrary names within the same domain, an attacker able to publish crates in a registry could obtain the credentials of others users of the same registry. The severity of the vulnerability is **low**, due to the extremely niche requirements needed to achieve the attack.
如何修補 CVE-2026-5222
要修補 CVE-2026-5222,請將受影響套件升級到下列已修補版本。
- —升級至 1.91.1-r2 或更新版本
- —未列出修補版本
- —未列出修補版本
- —未列出修補版本
- —升級至 0.97.0 或更新版本
CVE-2026-5222 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(5)
- from 0, < 1.91.1-r2
- from 0
- from 0
- from 0
- from 0, < 0.97.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |