Advisory

UBUNTU-CVE-2022-28737

Also known as: CVE-2022-28737

Summary

The record has no summary.

Details

There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables; The handle_image() function takes into account the SizeOfRawData field from each section to be loaded. An attacker can leverage this to perform out-of-bound writes into memory. Arbitrary code execution is not discarded in such scenario.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2023-07-20 01:15 UTC
Modified
2026-02-04 02:22 UTC

Affected packages and fixes

shim

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

shim

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

shim

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

shim

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 15.7-0ubuntu1 (ecosystem)

Fixed versions

15.7-0ubuntu1

Fix

  • Fixed version 15.7-0ubuntu1
    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.

shim

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 15.7-0ubuntu1 (ecosystem)

Fixed versions

15.7-0ubuntu1

Fix

  • Fixed version 15.7-0ubuntu1
    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