GHSA-fv97-2448-gcf6: RIOT-OS vulnerable to Buffer Overflow during IPHC receive

Published Apr 24, 2023
·
Updated

RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in an out of bounds write in the packet buffer. The overflow can be used to corrupt other packets and the allocator metadata. Corrupting a pointer will easily lead to denial of service. While carefully manipulating the allocator metadata gives an attacker the possibility to write data to arbitrary locations and thus execute arbitrary code. Version 2022.10 fixes this issue. As a workaround, disable support for fragmented IP datagrams or apply the patches manually.

Affected Software

1 affected component
RIOT RIOT-OS<2022.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade RIOT-OS to a version that resolves this vulnerability.

    Fixed in 2022.10
  2. Configuration

    Disable support for fragmented IP datagrams as a workaround.

    RIOT-OS support for fragmented IP datagrams = disabled

Event History

Apr 24, 2023
CVE Published
via OSV·02:42 PM
Data Sourced
via OSV·02:42 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments should be prioritized for remediation?

RIOT-OS devices running a release earlier than 2022.10 that process 6LoWPAN frames should be prioritized, particularly where an attacker can send network frames to the device.

2

What does an attacker need to exploit this issue?

An attacker needs to send a crafted 6LoWPAN frame to the target device. No privileges or user interaction are indicated.

3

What can be done when an immediate upgrade is not possible?

Disable support for fragmented IP datagrams, or apply the referenced patches manually. Upgrading to RIOT-OS 2022.10 fixes the issue.

4

How can teams determine whether a device is affected?

Verify the RIOT-OS version in use and whether the device processes 6LoWPAN frames. Versions prior to 2022.10 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203