CVE-2021-41816
ruby2.7 - security update
9.8
CRITICAL
CVSS 3.1
EPSS 4.8%
描述
CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.
如何修補 CVE-2021-41816
要修補 CVE-2021-41816,請將受影響套件升級到下列已修補版本。
- Alpine/ruby—升級至 2.7.5-r0 或更新版本
- —升級至 2.7.4-1+deb11u1 或更新版本
- —升級至 2.7.4-1+deb11u1 或更新版本
- —升級至 0.3.1 或更新版本
CVE-2021-41816 正在被利用嗎?
低 — EPSS 為 4.8%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 2.7.5-r0
- from 0, < 2.7.4-1+deb11u1
- from 0, < 2.7.4-1+deb11u1
- >= 0.3.0, < 0.3.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |