CVE-2021-26291
block repositories using http by default
描述
Apache Maven will follow repositories that are defined in a dependency’s Project Object Model (pom) which may be surprising to some users, resulting in potential risk if a malicious actor takes over that repository or is able to insert themselves into a position to pretend to be that repository. Maven is changing the default behavior in 3.8.1+ to no longer follow http (non-SSL) repository references by default. More details available in the referenced urls. If you are currently using a repository manager to govern the repositories used by your builds, you are unaffected by the risks present in the legacy behavior, and are unaffected by this vulnerability and change to default behavior. See this link for more information about repository management: https://maven.apache.org/repository-management.html
如何修補 CVE-2021-26291
要修補 CVE-2021-26291,請將受影響套件升級到下列已修補版本。
- —升級至 3.8.1 或更新版本
- —未列出修補版本
- —升級至 3.8.1 或更新版本
- —升級至 3.8.1 或更新版本
CVE-2021-26291 正在被利用嗎?
中等 — EPSS 為 8.7%,可持續追蹤但非最高優先。
受影響套件(4)
- from 0, < 3.8.1
- from 0
- from 0, < 3.8.1
- from 0, < 3.8.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |