8.8
CWE
787
Advisory Published
Updated

CVE-2022-36054: Out-of-bounds write when decompressing 6LoWPAN payload in Contiki-NG

First published: Thu Sep 01 2022(Updated: )

Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The 6LoWPAN implementation in the Contiki-NG operating system (file os/net/ipv6/sicslowpan.c) contains an input function that processes incoming packets and copies them into a packet buffer. Because of a missing length check in the input function, it is possible to write outside the packet buffer's boundary. The vulnerability can be exploited by anyone who has the possibility to send 6LoWPAN packets to a Contiki-NG system. In particular, the vulnerability is exposed when sending either of two types of 6LoWPAN packets: an unfragmented packet or the first fragment of a fragmented packet. If the packet is sufficiently large, a subsequent memory copy will cause an out-of-bounds write with data supplied by the attacker.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Contiki-ng Contiki-ng<4.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-36054?

    CVE-2022-36054 is a vulnerability in the 6LoWPAN implementation in the Contiki-NG operating system that allows an attacker to cause a denial of service or execute arbitrary code.

  • How severe is CVE-2022-36054?

    CVE-2022-36054 has a severity score of 8.8 (high) according to the CVSS (Common Vulnerability Scoring System).

  • Which software versions are affected by CVE-2022-36054?

    Contiki-ng versions up to and excluding 4.8 are affected by CVE-2022-36054.

  • How can I fix CVE-2022-36054?

    To fix CVE-2022-36054, it is recommended to update the Contiki-ng operating system to version 4.8 or later.

  • Where can I find more information about CVE-2022-36054?

    You can find more information about CVE-2022-36054 on the GitHub pull request page (link: https://github.com/contiki-ng/contiki-ng/pull/1648) and the GitHub security advisories page (link: https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-c36p-vhwg-244c).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203