DEBIAN-CVE-2021-41816

Source
https://security-tracker.debian.org/tracker/CVE-2021-41816
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41816.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-41816
Upstream
Published
2022-02-06T21:15:07Z
Modified
2025-09-19T07:31:50.442110Z
Summary
[none]
Details

CGI.escapehtml 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 sizet and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.

References

Affected packages

Debian:11 / ruby2.7

Package

Name
ruby2.7
Purl
pkg:deb/debian/ruby2.7?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.4-1+deb11u1

Affected versions

2.*

2.7.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}