BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-32017 in Riot-Os Riot

Critical 9.0

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 lengt...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.0
EPSS1.7%
EPSS percentile77th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Riot-Os Riot ≤ 2024.01

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-32017
BreachSpider IDBS-2024-GLOBAL-191702-C
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Published2024-05-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-120: Buffer Copy without Checking Size (Classic Buffer Overflow)

Program copies data to a buffer without verifying the source data fits within the destination.

Related attack patterns (CAPEC)

CAPEC-8 Buffer Overflow in an API Call via CWE-120

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-120

CAPEC-10 Buffer Overflow via Environment Variables via CWE-120

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-120

CAPEC-24 Filter Failure through Buffer Overflow via CWE-120

Show all 13

CAPEC-42 MIME Conversion via CWE-120

CAPEC-44 Overflow Binary Resource File via CWE-120

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-120

CAPEC-46 Overflow Variables and Tags via CWE-120

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-120

CAPEC-67 String Format Overflow in syslog() via CWE-120

CAPEC-92 Forced Integer Overflow via CWE-120

CAPEC-100 Overflow Buffers via CWE-120

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A buffer overflow vulnerability exists in the RIOT operating system due to a typo in the size check of the _proxy string in the gcoap_dns_server_proxy_get() function, leading to a potential security risk.

An attacker could exploit this vulnerability by crafting a specially crafted _proxy string that exceeds the expected buffer size, potentially leading to code execution or other malicious actions.

Questions

What is CVE-2024-32017?

A buffer overflow vulnerability exists in the RIOT operating system due to a typo in the size check of the _proxy string in the gcoap_dns_server_proxy_get() function, leading to a potential security risk.

What is the CVSS score for CVE-2024-32017?

CVE-2024-32017 has CVSS 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.7%.

Is CVE-2024-32017 actively exploited?

No confirmed active exploitation of CVE-2024-32017 as of 2026-09-25.

How do I remediate CVE-2024-32017?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-32017?

CVE-2024-32017 affects Riot-Os Riot.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Riot-Os","product":"Riot","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.