MicroPython up to 1.21.0 objslice.c slice_indices heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.9 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in MicroPython up to 1.21.0. This affects the function slice_indices of the file objslice.c. The manipulation results in heap-based overflow.
This vulnerability is known as CVE-2023-7158. It is possible to launch the attack remotely. Furthermore, an exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in MicroPython up to 1.21.0 (Programming Language Software). It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability.
The weakness was published 12/28/2023 as 13007. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2023-7158. Technical details and a public exploit are known.
The exploit is shared for download at github.com. It is declared as proof-of-concept.
Upgrading to version 1.22.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.1VulDB Meta Temp Score: 7.9
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 7.3
CNA Vector (VulDB): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: MicroPython 1.22.0
Patch: github.com
Timeline
12/28/2023 🔍12/28/2023 🔍
12/28/2023 🔍
01/20/2024 🔍
Sources
Product: github.comAdvisory: 13007
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2023-7158 (🔍)
GCVE (CVE): GCVE-0-2023-7158
GCVE (VulDB): GCVE-100-249180
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 12/28/2023 15:34Updated: 01/20/2024 13:06
Changes: 12/28/2023 15:34 (47), 01/20/2024 12:58 (2), 01/20/2024 13:06 (28)
Complete: 🔍
Submitter: qbit
Cache ID: 216::103
Submit
Accepted
- Submit #259236: micropython micropython v1.13 to v1.21.0 buffer overflow (by qbit)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.