Buffer Overflow Affecting riot-os/riot package, versions [,2024.07-RC1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RIOTOSRIOT-6765789
  • published2 May 2024
  • disclosed1 May 2024
  • credit0xdea

Introduced: 1 May 2024

CVE-2024-31225  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade riot-os/riot to version 2024.07-RC1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to the _on_rd_init function not implementing a size check before copying data to the _result_buf static buffer. An attacker can cause a buffer overflow by crafting a long enough payload. This could range from denial of service to arbitrary code execution.

CVSS Base Scores

version 3.1