UBUNTU-CVE-2021-41816
Dashboard / Vulnerabilities / UBUNTU-CVE-2021-41816
UBUNTU-CVE-2021-41816
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2021-41816, https://www.ruby-lang.org/en/news/2021/11/24/buffer-overrun-in-cgi-escape_html-cve-2021-41816/, https://github.com/ruby/cgi/commit/c728632c1c09d46cfd4ecbff9caaa3651dd1002a, https://ubuntu.com/security/notices/USN-5235-1, https://www.cve.org/CVERecord?id=CVE-2021-41816
Affected packages
Package
Name: ruby2.7
Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected ranges
Type: ECOSYSTEM
Events:
