ALPINE-CVE-2021-41816

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 06 Feb 2022, 21:15
Last modified:03 Dec 2025, 22:48

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
3.1 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

06 Feb 2022, 21:15
Published
Vulnerability first disclosed
03 Dec 2025, 22:48
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Systems

  • alpineruby

    < 2.7.5-r0 | < 2.7.5-r0 | < 2.7.5-r0 | < 3.0.3-r0 | < 3.0.3-r0 | < 3.0.3-r0 | < 3.0.3-r0 | < 3.0.3-r0 | < 3.0.3-r0 | < 3.0.3-r0 | < 3.0.3-r0 | < 3.0.3-r0

References (1)