CVE-2019-17212
Last modified
CVE-2019-17212 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Buffer overflows were discovered in the CoAP library in Arm Mbed OS 5.14.0. The CoAP parser is responsible for parsing received CoAP packets. EPSS estimates a 3.06% chance of exploitation in the next 30 days.
Description
Buffer overflows were discovered in the CoAP library in Arm Mbed OS 5.14.0. The CoAP parser is responsible for parsing received CoAP packets. The function sn_coap_parser_options_parse() parses CoAP input linearly using a while loop. Once an option is parsed in a loop, the current point (*packet_data_pptr) is increased correspondingly. The pointer is restricted by the size of the received buffer, as well as by the 0xFF delimiter byte. Inside each while loop, the check of the value of *packet_data_pptr is not strictly enforced. More specifically, inside a loop, *packet_data_pptr could be increased and then dereferenced without checking. Moreover, there are many other functions in the format of sn_coap_parser_****() that do not check whether the pointer is within the bounds of the allocated buffer. All of these lead to heap-based or stack-based buffer overflows, depending on how the CoAP packet buffer is allocated.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mbed | Mbed | 5.13.2 |
| Mbed | Mbed | 5.14.0 |
References
- https://github.com/ARMmbed/mbed-os/issues/11803Issue Tracking, Third Party Advisory
- https://github.com/ARMmbed/mbed-os/issues/11803Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-17212?
How severe is CVE-2019-17212?
How do I fix CVE-2019-17212?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-17205TeamPass 2.1.27.36 allows Stored XSS by placing a payload in…6.1
- CVE-2019-17206Uncontrolled deserialization of a pickled object in models.p…9.8
- CVE-2019-17207A reflected XSS vulnerability was found in includes/admin/ta…5.4
- CVE-2019-1721A vulnerability in the phone book feature of Cisco Expresswa…6.5
- CVE-2019-17210A denial-of-service issue was discovered in the MQTT library…7.5
- CVE-2019-17211An integer overflow was discovered in the CoAP library in Ar…9.8
- CVE-2019-17213The WebARX plugin 1.3.0 for WordPress has unauthenticated st…6.1
- CVE-2019-17214The WebARX plugin 1.3.0 for WordPress allows firewall bypass…7.5
- CVE-2019-17215An issue was discovered on V-Zug Combi-Steam MSLQ devices be…9.8
- CVE-2019-17216An issue was discovered on V-Zug Combi-Steam MSLQ devices be…9.8
- CVE-2019-17217An issue was discovered on V-Zug Combi-Steam MSLQ devices be…8.8
- CVE-2019-17218An issue was discovered on V-Zug Combi-Steam MSLQ devices be…9.1
Are you affected by CVE-2019-17212?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
