Integer Overflow or Wraparound Affecting ruby2.7 package, versions <2.7.4-1+deb11u1
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-RUBY27-1933848
- published 1 Dec 2021
- disclosed 6 Feb 2022
Introduced: 1 Dec 2021
CVE-2021-41816 Open this link in a new tabHow to fix?
Upgrade Debian:11
ruby2.7
to version 2.7.4-1+deb11u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby2.7
package and not the ruby2.7
package as distributed by Debian:11
.
See How to fix?
for Debian:11
relevant fixed versions and status.
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.