Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-8948— MicroPython objint.c mpz_as_bytes heap-based overflow

Quick assessment

Affected
n/a MicroPython
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MicroPython是MicroPython开源的一个小型的开源Python编程语言解释器。 MicroPython 1.23.0版本存在安全漏洞,该漏洞源于py/objint.c文件中的mpz_as_bytes函数,在将整数转换为字节时会导致堆缓冲区溢写出错。

CVSS 7.3 · High EPSS 0.99% · P61

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-8948

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MicroPython objint.c mpz_as_bytes heap-based overflow
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability was found in MicroPython 1.23.0. It has been rated as critical. Affected by this issue is the function mpz_as_bytes 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 mpz_as_bytes.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
MicroPython 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MicroPython是MicroPython开源的一个小型的开源Python编程语言解释器。 MicroPython 1.23.0版本存在安全漏洞,该漏洞源于py/objint.c文件中的mpz_as_bytes函数,在将整数转换为字节时会导致堆缓冲区溢写出错。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- MicroPython 1.23.0 -

II. Public POCs for CVE-2024-8948

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7646 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-8948

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-8948 (1)

News Coverage for CVE-2024-8948 (1)

Same Patch Batch · n/a · 2024-09-17 · 9 CVEs total

CVE-2024-38812 9.8 CRITICAL Heap-overflow vulnerability
CVE-2024-38813 7.5 HIGH Privilege escalation vulnerability
CVE-2024-8946 7.3 HIGH MicroPython VFS Unmount vfs.c mp_vfs_umount heap-based overflow
CVE-2024-8947 5.6 MEDIUM MicroPython objarray.c use after free
CVE-2024-46085 FrogCms 安全漏洞
CVE-2024-46362 FrogCms 安全漏洞
CVE-2024-47047 TYPO3 安全漏洞
CVE-2024-47049 File Handling and Storage Helper 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-8948

No comments yet


Leave a comment