PYSEC-2024-87

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/micropython-copy/PYSEC-2024-87.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2024-87
Aliases
Published
2024-09-17T19:15:00Z
Modified
2024-09-24T18:12:01.431387Z
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-copy

Package

Name
micropython-copy
View open source insights on deps.dev
Purl
pkg:pypi/micropython-copy

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.0.1
0.0.2

3.*

3.3.3-2
3.3.3.post3