USN-7472-1

Source
https://ubuntu.com/security/notices/USN-7472-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7472-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7472-1
Upstream
Related
Published
2025-05-01T13:04:26.449311Z
Modified
2025-10-13T04:41:07Z
Summary
micropython vulnerabilities
Details

Junwha Hong and Wonil Jang discovered that Micropython incorrectly handled the length of a buffer in mpvfsumount, leading to a heap-based buffer overflow vulnerability. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2024-8946)

Junwha Hong and Wonil Jang discovered that Micropython incorrectly handled memory, leading to a use-after-free vulnerability under certain circumstances. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2024-8947)

It was discovered that Middleware USB Host MCU Component incorrectly handled memory, leading to a buffer overflow vulnerability, If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2021-42553)

References

Affected packages

Ubuntu:Pro:20.04:LTS / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython@1.12-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12-1ubuntu0.1~esm1

Affected versions

1.*

1.12-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "micropython",
            "binary_version": "1.12-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2021-42553"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                    },
                    {
                        "type": "CVSS_V4",
                        "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-8946"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "CVSS_V4",
                        "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-8947"
            }
        ],
        "ecosystem": "Ubuntu:Pro:20.04:LTS"
    }
}

Ubuntu:Pro:22.04:LTS / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython@1.17+ds-1.1ubuntu2+esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17+ds-1.1ubuntu2+esm1

Affected versions

1.*

1.17+ds-1ubuntu1
1.17+ds-1.1
1.17+ds-1.1ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "micropython",
            "binary_version": "1.17+ds-1.1ubuntu2+esm1"
        }
    ]
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2021-42553"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                    },
                    {
                        "type": "CVSS_V4",
                        "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-8946"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "CVSS_V4",
                        "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-8947"
            }
        ],
        "ecosystem": "Ubuntu:Pro:22.04:LTS"
    }
}

Ubuntu:Pro:24.04:LTS / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython@1.22.1+ds-1ubuntu0.24.04.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.1+ds-1ubuntu0.24.04.1~esm1

Affected versions

1.*

1.19.1+ds-1
1.22.1+ds-1
1.22.1+ds-1build1
1.22.1+ds-1build2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "micropython",
            "binary_version": "1.22.1+ds-1ubuntu0.24.04.1~esm1"
        }
    ]
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2021-42553"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                    },
                    {
                        "type": "CVSS_V4",
                        "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-8946"
            },
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "CVSS_V4",
                        "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-8947"
            }
        ],
        "ecosystem": "Ubuntu:Pro:24.04:LTS"
    }
}