CVE-2023-7158
published high CVSS 3.1 · 7.3MicroPython objslice.c slice_indices heap-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | MicroPython1.13.0 · 1.14.0 · 1.15.0 · 1.16.0 · 1.17.0 · 1.18.0 · 1.19.0 · 1.20.0 · 1.21.0 | Affected | Not stated | VulDB |
| SUSE / openSUSE | openSUSE-Tumbleweed | micropythonaarch64 | Advisory build | 1.22.0-1.1 | OPENSUSE-SU-2024:13566-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | micropythonppc64le | Advisory build | 1.22.0-1.1 | OPENSUSE-SU-2024:13566-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | micropythons390x | Advisory build | 1.22.0-1.1 | OPENSUSE-SU-2024:13566-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | micropythonx86_64 | Advisory build | 1.22.0-1.1 | OPENSUSE-SU-2024:13566-1 |
Description
A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.22.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-249180.
Es wurde eine kritische Schwachstelle in MicroPython bis 1.21.0 ausgemacht. Es betrifft die Funktion slice_indices der Datei objslice.c. Durch Manipulieren mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 1.22.0 vermag dieses Problem zu lösen. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- VulDB · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.0 | 7.3 | high | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | MicroPython | 1.13.0 (affected)1.14.0 (affected)1.15.0 (affected)1.16.0 (affected)1.17.0 (affected)1.18.0 (affected)1.19.0 (affected)1.20.0 (affected)1.21.0 (affected) | VulDB · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
9- https://github.com/micropython/micropython/issues/13007
- https://github.com/micropython/micropython/pull/13039
- https://github.com/micropython/micropython/pull/13039/commits/f397a3ec318f3ad05aa287764ae7cef32202380f
- https://github.com/micropython/micropython/releases/tag/v1.22.0
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4E2HYWCZB5R4SHY4SZZZSFDMD64N4SOZ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/D3WWY5JY4RTJE25APB4REGDUDPATG6H7/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TEK46QAJOXXDZOWOIE2YACUOCZFWOBCK/
- https://vuldb.com/?ctiid.249180
- https://vuldb.com/?id.249180
Provider assertions
2VulDB · cna
MicroPython objslice.c slice_indices heap-based overflow
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ffedf17a0e0584556adb957412a59597111c903ba5862058c8c9aa4327f530ab
- Ingested
- 23 Sep 2026, 08:16:06 UTC
- Source record
- Official CVE record