V
Scaner-VS
HomeCatalogSourcesCWECAPECATT&CKMitigationsProductsVendorsDocs
CVE-2021-41816
DEB
High

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 platfo…

CVSS
7.5
High
EPSS
0.05
p90
Published
2021-01-01
Updated
2021-01-01
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.

Tags · CWE
RCEPre-auth
CWE-119
CWE-190
CAPEC-8
CAPEC-9
CAPEC-10
CAPEC-14
CAPEC-24
CAPEC-42
CAPEC-44
CAPEC-45
CAPEC-46
CAPEC-47
CAPEC-92
CAPEC-100
CAPEC-123
Affected products
Rh-ruby27-rubyRh-ruby30-rubyRuby2.3Ruby2.3Ruby2.3Ruby2.5Ruby2.5Ruby2.5Ruby2.5Ruby2.7Ruby2.7Ruby2.7Ruby2.7Ruby2.7Ruby2.7Ruby3.0Ruby3.0Ruby3.0Ruby3.0Cgi
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Timeline
2021-01-01
Published
2021-01-01
Updated
CVSS 3.1 breakdown
Attack Vector
AV: N
Network (N)
Attack Complexity
AC: L
Low (L)
Privileges Required
PR: N
None (N)
User Interaction
UI: N
None (N)
Scope
S: U
Unchanged (U)
Confidentiality Impact
C: N
None (N)
Integrity Impact
I: N
None (N)
Availability Impact
A: H
High (H)
Exploit indicators
EPSS
0.048 · p90
Known exploited (KEV)
No
Known exploits — Сканер-ВС
No Сканер-ВС checks registered for this vulnerability yet.
Affected products
ProductVendorStatus
rh-ruby27-rubyTracked
rh-ruby30-rubyTracked
ruby2.3Tracked
ruby2.3Tracked
ruby2.3Tracked
ruby2.5Tracked
ruby2.5Tracked
ruby2.5Tracked
ruby2.5Tracked
ruby2.7Tracked
ruby2.7Tracked
ruby2.7Tracked
ruby2.7Tracked
ruby2.7Tracked
ruby2.7Tracked
ruby3.0Tracked
ruby3.0Tracked
ruby3.0Tracked
ruby3.0Tracked
cgi*Tracked
Showing first 20 of 23
Source databases
DEB
CVE
RED
UBU
Related vulnerabilities