Buffer overflow in Micropython
CVE-2023-7158
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.012 (67.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 67.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Micropython
- Micropython — versions 1.13.0, 1.14.0, 1.15.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- vuldb.com/ (technical-description, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, Third Party Advisory)
- github.com/micropython/micropython/issues/13007 (issue-tracking, Exploit, exploit, Issue Tracking)
- github.com/micropython/micropython/pull/13039 (issue-tracking, Issue Tracking)
- github.com/micropython/micropython/pull/13039/commits/f397a3ec318f3ad05aa287764… (issue-tracking, Patch, patch)
- github.com/micropython/micropython/releases/tag/v1.22.0 (Release Notes, patch)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
Frequently asked questions
- What is CVE-2023-7158?
- CVE-2023-7158 is a high-severity vulnerability in Micropython, classified under Heap-based Buffer Overflow. CVSS score: 7.3/10. Published 2023-12-29.
- How severe is CVE-2023-7158?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2023-7158 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.