PYSEC-2024-89

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/micropython-os/PYSEC-2024-89.yaml
JSON Data
https://api.test.osv.dev/v1/vulns/PYSEC-2024-89
Aliases
Published
2024-09-17T19:15:00Z
Modified
2024-09-24T18:27:18.951210Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpzasbytes 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 mpzasbytes.

References

Affected packages

PyPI / micropython-os

Package

Affected ranges

Type
GIT
Repo
https://github.com/micropython/micropython
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.2.3
0.2.4
0.3
0.3.1
0.4.1
0.4.2
0.4.3
0.4.4
0.6
0.7
0.7.1
0.8