CVE-2021-41816
ruby2.7 - security update
9.8
CRITICAL
CVSS 3.1
EPSS 0.48%
Description
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.
How to fix CVE-2021-41816
To remediate CVE-2021-41816, upgrade the affected package to a fixed version below.
- —upgrade to 2.7.5-r0 or later
- —upgrade to 2.7.4-1+deb11u1 or later
- —upgrade to 2.7.4-1+deb11u1 or later
- —upgrade to 0.3.1 or later
Is CVE-2021-41816 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (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 scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| 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 |