Advisories

RT-Thread through 5.3.0 Memory Corruption via USB CDC VCOM Driver

Go Back
severity
medium
date
Affecting
  • rt-thread <= 5.3.0

CWE
  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
CVSS
5.1
CVSS V4 Vector
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
Jaeyeong Lee, Ijae Kim, Myeonghun Pak, Yuho Choi, Taegyu Kim
Description
RT-Thread through 5.3.0 contains a memory corruption vulnerability in the legacy USB CDC virtual COM port driver that aliases rx_ringbuffer as a Serial V2 rt_serial_rx_fifo in _function_enable(). A connected USB host configuring the CDC device triggers writes past the ring buffer into struct vcom members and an invalid rt_free() on close, causing denial of service.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.