CVE-2020-12883: Critical severity arm mbed vulnerability
Buffer over-reads were discovered in the CoAP library in Arm Mbed OS 5.15.3. The CoAP parser is responsible for parsing received CoAP packets. The function sncoapparseroptionsparse() parses CoAP input linearly using a while loop. Once an option is parsed in a loop, the current point (packetdatapptr) is increased correspondingly. The pointer is restricted by the size of the received buffer, as well as by the option delta and option length bytes. The actual input packet length is not verified against the number of bytes read when processing the option extended delta and the option extended length. Moreover, the calculation of the messageleft variable, in the case of non-extended option deltas, is incorrect and indicates more data left for processing than provided in the function input. All of these lead to heap-based or stack-based memory location read access that is outside of the intended boundary of the buffer. Depending on the platform-specific memory management mechanisms, it can lead to processing of unintended inputs or system memory access violation errors.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2020-12883?
The severity of CVE-2020-12883 is categorized as high due to potential exploitation risks associated with buffer over-reads.
How do I fix CVE-2020-12883?
To mitigate CVE-2020-12883, upgrade to a patched version of Arm Mbed OS beyond 5.15.3 where the vulnerability has been addressed.
What type of vulnerability is CVE-2020-12883?
CVE-2020-12883 is classified as a buffer over-read vulnerability in the CoAP library of Arm Mbed OS.
What versions are affected by CVE-2020-12883?
CVE-2020-12883 specifically affects Arm Mbed OS version 5.15.3.
What impact can CVE-2020-12883 have on my system?
Exploitation of CVE-2020-12883 may lead to information leakage and potentially allow attackers to glean sensitive data from the system.