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-27219

Publication date 15 February 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.

Read the notes from the security team

Status

Package Ubuntu Release Status
glib2.0 24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Not affected
21.10 impish
Not affected
21.04 hirsute
Not affected
20.10 groovy
Fixed 2.66.1-2ubuntu0.1
20.04 LTS focal
Fixed 2.64.6-1~ubuntu20.04.2
18.04 LTS bionic
Fixed 2.56.4-0ubuntu0.18.04.7
16.04 LTS xenial
Fixed 2.48.2-0ubuntu4.7
14.04 LTS trusty
Vulnerable

Notes


mdeslaur

see gnome bug for multiple regression fixes solved in 2.66.7 Upstream fixed this in 2.67 by adding a new g_memdup2() function and deprecating g_memdup(). For the 2.66 stable release, they added g_memdup2(), but in a private manner so that internal uses of g_memdup() could be switched, but this won't fix external applications.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
glib2.0

Severity score breakdown

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

References

Related Ubuntu Security Notices (USN)

Other references