Thursday, May 1, 2025

[USN-7472-1] Micropython vulnerabilities

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEE5rkwSLC9ntq84w397Dtram9gyMMFAmgTfboFAwAAAAAACgkQ7Dtram9gyMOu
3ggAh73lX4TFF1zzEgoa+S9m1aHWX4XjCZ0pzfM9f3Ph5+ZoTvfxdow8Kx/3IIt+MPguoYVEb9dh
D3RXSnzl90PGOaCoEgyGepaaX7B0ZWJFTI+K2Jd/NGgRdfAT8vBIHS5qGVryeJlyE5F1m3LbcUmS
ZuE0fTtSJVRounu0co+57HuPQJxTWBsKpYsdJUGCC0GHMkUQX2lwo3jJ89Q3GJ3nugn3+q2ERD/3
AIkr38jL/mY0D2wlLl3pL1DqFVvFozKXkr9cYw9vrOtItq1ONHLgPdauPKJaeTafXI3/3vcP87Cq
Se59vt6FsLqKMclQTWFydAzq658l1C9BCWM+H1M6rQ==
=CUqQ
-----END PGP SIGNATURE-----
==========================================================================
Ubuntu Security Notice USN-7472-1
May 01, 2025

micropython vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS

Summary:

Several security issues were fixed in micropython.

Software Description:
- micropython: Implementation of Python 3.x on microcontrollers and small embedded systems.

Details:

Junwha Hong and Wonil Jang discovered that Micropython incorrectly handled
the length of a buffer in mp_vfs_umount, leading to a heap-based buffer
overflow vulnerability. If a user or automated system were tricked into
opening a specially crafted file, an attacker could possibly use this issue
to cause a denial of service or possibly execute arbitrary code.
(CVE-2024-8946)


Junwha Hong and Wonil Jang discovered that Micropython incorrectly handled
memory, leading to a use-after-free vulnerability under certain
circumstances. If a user or automated system were tricked into opening a
specially crafted file, an attacker could possibly use this issue to
cause a denial of service or possibly execute arbitrary code.
(CVE-2024-8947)

It was discovered that Middleware USB Host MCU Component incorrectly
handled memory, leading to a buffer overflow vulnerability. If a user or
automated system were tricked into opening a specially crafted file, an
attacker could possibly use this issue to cause a denial of service or
possibly execute arbitrary code. (CVE-2021-42553)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.10
micropython 1.22.1+ds-1ubuntu0.24.10.1

Ubuntu 24.04 LTS
micropython 1.22.1+ds-1ubuntu0.24.04.1~esm1
Available with Ubuntu Pro

Ubuntu 22.04 LTS
micropython 1.17+ds-1.1ubuntu2+esm1
Available with Ubuntu Pro

Ubuntu 20.04 LTS
micropython 1.12-1ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-7472-1
CVE-2021-42553, CVE-2024-8946, CVE-2024-8947

Package Information:
https://launchpad.net/ubuntu/+source/micropython/1.22.1+ds-1ubuntu0.24.10.1

No comments:

Post a Comment