PyPi: Micropython-Copy

CVE-2024-8946

Safety vulnerability ID: 78765

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Sep 17, 2024 Updated at Aug 18, 2025
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of the MicroPython package are vulnerable to Buffer Overflow due to improper length-based comparison of the unmount request string and the mounted path. The `mp_vfs_umount` function in the `extmod/vfs.c` module performs a comparison based solely on the length of the unmount string, which can result in a heap-based buffer overflow when the unmount string is longer than expected. An attacker can exploit this by sending a specially crafted unmount request remotely to trigger the overflow, potentially corrupting memory and causing a denial of service or remote code execution.

Affected package

micropython-copy

Latest version: 3.3.3.post3

CPython copy module ported to MicroPython

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH