Advisory

UBUNTU-CVE-2021-27218

Also known as: CVE-2021-27218

Summary

The record has no summary.

Details

An issue was discovered in GNOME GLib before 2.66.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated modulo 2**32, causing unintended length truncation.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2021-02-15 17:15 UTC
Modified
2026-09-21 21:34 UTC

Affected packages and fixes

glib2.0

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.48.2-0ubuntu4.7 (ecosystem)

Fixed versions

2.48.2-0ubuntu4.7

Fix

  • Fixed version 2.48.2-0ubuntu4.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

glib2.0

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.56.4-0ubuntu0.18.04.7 (ecosystem)

Fixed versions

2.56.4-0ubuntu0.18.04.7

Fix

  • Fixed version 2.56.4-0ubuntu0.18.04.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

glib2.0

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.64.6-1~ubuntu20.04.2 (ecosystem)

Fixed versions

2.64.6-1~ubuntu20.04.2

Fix

  • Fixed version 2.64.6-1~ubuntu20.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences