Advisory

DEBIAN-CVE-2024-8948

Also known as: CVE-2024-8948

Summary

The record has no summary.

Details

A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes of the file py/objint.c. The manipulation leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The patch is identified as 908ab1ceca15ee6fd0ef82ca4cba770a3ec41894. It is recommended to apply a patch to fix this issue. In micropython objint component, converting zero from int to bytes leads to heap buffer-overflow-write at mpz_as_bytes.

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
2024-09-17 19:15 UTC
Modified
2026-11-02 12:03 UTC

Affected packages and fixes

micropython

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.24.0+ds-1 (ecosystem)

Fixed versions

1.24.0+ds-1

Fix

  • Fixed version 1.24.0+ds-1
    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.

micropython

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.24.0+ds-1 (ecosystem)

Fixed versions

1.24.0+ds-1

Fix

  • Fixed version 1.24.0+ds-1
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences