Advisory

UBUNTU-CVE-2024-31083

Also known as: CVE-2024-31083

Summary

The record has no summary.

Details

A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function of Xorg servers. This issue occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server, potentially resulting in multiple entries pointing to the same non-refcounted glyphs. Consequently, ProcRenderAddGlyphs() may free a glyph, leading to a use-after-free scenario when the same glyph pointer is subsequently accessed. This flaw allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request.

Severity

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

Dates

Published
2024-03-04 00:00 UTC
Modified
2026-04-22 14:49 UTC

Affected packages and fixes

xorg-server

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:1.20.13-1ubuntu1~20.04.17 (ecosystem)

Fixed versions

2:1.20.13-1ubuntu1~20.04.17

Fix

  • Fixed version 2:1.20.13-1ubuntu1~20.04.17
    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.

xorg-server

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:21.1.4-2ubuntu1.7~22.04.10 (ecosystem)

Fixed versions

2:21.1.4-2ubuntu1.7~22.04.10

Fix

  • Fixed version 2:21.1.4-2ubuntu1.7~22.04.10
    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.

xwayland

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2:22.1.1-1ubuntu0.13 (ecosystem)

Fixed versions

2:22.1.1-1ubuntu0.13

Fix

  • Fixed version 2:22.1.1-1ubuntu0.13
    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.

xorg-server

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2:21.1.12-1ubuntu1 (ecosystem)

Fixed versions

2:21.1.12-1ubuntu1

Fix

  • Fixed version 2:21.1.12-1ubuntu1
    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