{"id":"USN-7472-1","summary":"micropython vulnerabilities","details":"Junwha Hong and Wonil Jang discovered that Micropython incorrectly handled\nthe length of a buffer in mp_vfs_umount, leading to a heap-based buffer \noverflow vulnerability. If a user or automated system were tricked into\nopening a specially crafted file, an attacker could possibly use this issue\nto cause a denial of service or possibly execute arbitrary code.\n(CVE-2024-8946)\n\n\nJunwha Hong and Wonil Jang discovered that Micropython incorrectly handled\nmemory, leading to a use-after-free vulnerability under certain \ncircumstances. If a user or automated system were tricked into opening a \nspecially crafted file, an attacker could possibly use this issue to\ncause a denial of service or possibly execute arbitrary code. \n(CVE-2024-8947)\n\nIt was discovered that Middleware USB Host MCU Component incorrectly\nhandled memory, leading to a buffer overflow vulnerability, If a user or \nautomated system were tricked into opening a specially crafted file, an \nattacker could possibly use this issue to cause a denial of service or\npossibly execute arbitrary code. (CVE-2021-42553)\n","modified":"2026-02-10T04:48:35Z","published":"2025-05-01T13:04:26Z","related":["UBUNTU-CVE-2021-42553","UBUNTU-CVE-2024-8946","UBUNTU-CVE-2024-8947"],"upstream":["CVE-2021-42553","CVE-2024-8946","CVE-2024-8947","UBUNTU-CVE-2021-42553","UBUNTU-CVE-2024-8946","UBUNTU-CVE-2024-8947"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7472-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-42553"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-8946"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-8947"}],"affected":[{"package":{"name":"micropython","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/micropython@1.12-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12-1ubuntu0.1~esm1"}]}],"versions":["1.12-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.12-1ubuntu0.1~esm1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7472-1.json","cves_map":{"cves":[{"id":"CVE-2021-42553","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-8946","severity":[{"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_V3"},{"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":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-8947","severity":[{"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_V3"},{"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":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:20.04:LTS"}}},{"package":{"name":"micropython","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/micropython@1.17+ds-1.1ubuntu2+esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17+ds-1.1ubuntu2+esm1"}]}],"versions":["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_version":"1.17+ds-1.1ubuntu2+esm1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7472-1.json","cves_map":{"cves":[{"id":"CVE-2021-42553","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-8946","severity":[{"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_V3"},{"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":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-8947","severity":[{"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_V3"},{"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":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:22.04:LTS"}}},{"package":{"name":"micropython","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/micropython@1.22.1+ds-1ubuntu0.24.04.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.1+ds-1ubuntu0.24.04.1~esm1"}]}],"versions":["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_version":"1.22.1+ds-1ubuntu0.24.04.1~esm1","binary_name":"micropython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7472-1.json","cves_map":{"cves":[{"id":"CVE-2021-42553","severity":[{"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":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-8946","severity":[{"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_V3"},{"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":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2024-8947","severity":[{"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_V3"},{"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":"CVSS_V4"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:24.04:LTS"}}}],"schema_version":"1.7.3"}