Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-41816

Published: 2 December 2021

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.

Notes

AuthorNote
leosilva
introduced by https://github.com/ruby/cgi/commit/3a62e20f76ea42ff0b4d45f2952479eab266ae1c

Priority

Medium

Cvss 3 Severity Score

9.8

Score breakdown

Status

Package Release Status
ruby2.7
Launchpad, Ubuntu, Debian
upstream Needs triage

xenial Ignored
(end of standard support)
trusty Ignored
(end of standard support)
focal
Released (2.7.0-5ubuntu1.6)
hirsute
Released (2.7.2-4ubuntu1.3)
impish
Released (2.7.4-1ubuntu3.1)
ruby3.0
Launchpad, Ubuntu, Debian
trusty Ignored
(end of standard support)
upstream Needs triage

xenial Ignored
(end of standard support)
jammy
Released (3.0.2-7ubuntu2)
ruby2.3
Launchpad, Ubuntu, Debian
trusty Ignored
(end of standard support)
upstream Needs triage

xenial Not vulnerable

ruby2.5
Launchpad, Ubuntu, Debian
trusty Ignored
(end of standard support)
upstream Needs triage

xenial Ignored
(end of standard support)
bionic Not vulnerable

Severity score breakdown

Parameter Value
Base score 9.8
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H