Security mailing lists by PureSourceCode

CVE-2024-8948

MEDIUM 6.9CVSS 4.0

heap-buffer-overflow in MicroPython

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.

Published
17 Sep 2024
Last modified
17 Jun 2026
Assigned by
cna@vuldb.com
NVD status
Analyzed
Weakness
CWE-122CWE-787
Also known as
GHSA-vh3x-525m-jp4rPYSEC-2024-87PYSEC-2024-88PYSEC-2024-89
Sources
NVDJSONOSV GHSA-vh3x-525m-jp4rJSONOSV PYSEC-2024-87JSONOSV PYSEC-2024-88JSONOSV PYSEC-2024-89JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@vuldb.com (Secondary) CVSS 4.0 MEDIUM 6.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD cna@vuldb.com (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD cna@vuldb.com (Secondary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD micropython micropython
cpe:2.3:a:micropython:micropython:1.23.0:*:*:*:*:*:*:*
= 1.23.0
OSV PyPI micropython-copy <= 3.3.3.post3
OSV PyPI micropython-io <= 0.1
OSV PyPI micropython-os <= 0.8
OSV PyPI micropython-copy all versions
OSV PyPI micropython-io all versions
OSV PyPI micropython-os all versions

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 17 Sep 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.