UBUNTU-CVE-2021-42553

Source
https://ubuntu.com/security/CVE-2021-42553
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42553.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-42553
Upstream
Downstream
Related
Published
2022-10-21T10:15:00Z
Modified
2026-05-20T16:05:16Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A buffer overflow vulnerability in stm32_mw_usb_host of STMicroelectronics in versions before 3.5.1 allows an attacker to execute arbitrary code when the descriptor contains more endpoints than USBH_MAX_NUM_ENDPOINTS. The library is typically integrated when using a RTOS such as FreeRTOS on STM32 MCUs.

References

Affected packages

Ubuntu:Pro:20.04:LTS / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown 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

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42553.json"

Ubuntu:Pro:22.04:LTS / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown 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

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42553.json"

Ubuntu:Pro:24.04:LTS / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown 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

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42553.json"

Ubuntu:25.10 / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.24.1+ds-1
1.25.0+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "micropython",
            "binary_version": "1.25.0+ds-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42553.json"

Ubuntu:26.04:LTS / micropython

Package

Name
micropython
Purl
pkg:deb/ubuntu/micropython?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.25.0+ds-1
1.26.1+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "micropython",
            "binary_version": "1.26.1+ds-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-42553.json"