Out-of-bounds Write Affecting riot-os/riot package, versions [,2022.10)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (70th 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-5490110
  • published1 May 2023
  • disclosed1 May 2023
  • creditUnknown

Introduced: 1 May 2023

CVE-2023-24823  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade riot-os/riot to version 2022.10 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write when processing the IPHC headers of 6LoWPAN frames. The length calculation for GNRC_NETTYPE_UNDEF assumes UDP headers, which can cause an overflow when provided IPv6 headers instead. Manipulating the allocator metadata gives an attacker the possibility to write data to arbitrary locations and thus execute arbitrary code.

CVSS Scores

version 3.1