Buffer overflows in RIOT
Published May 1, 2024
9.8
CRITICALCVSS 3.1
EPSS 1.54%
Description
RIOT is a real-time multi-threading operating system that supports a range of devices that are typically 8-bit, 16-bit and 32-bit microcontrollers. The size check in the `gcoap_dns_server_proxy_get()` function contains a small typo that may lead to a buffer overflow in the subsequent `strcpy()`. In detail, the length of the `_uri` string is checked instead of the length of the `_proxy` string. The `_gcoap_forward_proxy_copy_options()` function does not implement an explicit size check before copying data to the `cep->req_etag` buffer that is `COAP_ETAG_LENGTH_MAX` bytes long. If an attacker can craft input so that `optlen` becomes larger than `COAP_ETAG_LENGTH_MAX`, they can cause a buffer overflow. If the input above is attacker-controlled and crosses a security boundary, the impact of the buffer overflow vulnerabilities could range from denial of service to arbitrary code execution. This issue has yet to be patched. Users are advised to add manual bounds checking.
Affected products
-
- Version <= 2023.10StatusaffectedConstraints-
- Version
-
- Version 0StatusaffectedConstraints<=2023.10
- Version
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
1 other source (GitHub) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed May 1, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2024–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (6 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.54% (0.01539) | 74.00th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.48% (0.01476) | 70.36th | v5 (v2026.06.15) |
| Nov 18, 2025 | 2.26% (0.02264) | 83.26th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.86% (0.00860) | 73.42th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.70th | v3 (v2023.03.01) |
| May 1, 2024 | 0.04% (0.00045) | 14.27th | v3 (v2023.03.01) |
References (5)
- http://seclists.org/fulldisclosure/2024/May/7 Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2024/05/07/3 Mailing ListThird Party Advisory
- https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/gcoap/dns.c#L319-L325 x_refsource_MISCProduct
- https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/gcoap/forward_proxy.c#L352 x_refsource_MISCProduct
- https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-v97j-w9m6-c4h3 x_refsource_CONFIRMExploitVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://seclists.org/fulldisclosure/2024/May/7 | Mailing ListThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2024/05/07/3 | Mailing ListThird Party Advisory | |
| https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/gcoap/dns.c#L319-L325 | x_refsource_MISCProduct | |
| https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/gcoap/forward_proxy.c#L352 | x_refsource_MISCProduct | |
| https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-v97j-w9m6-c4h3 | x_refsource_CONFIRMExploitVendor Advisory |
Change history (0)
No recorded changes yet.