CVE-2023-29001 Uncontrolled recursion due to insufficient validation of the IPv6 source routing header in Contiki-NG
Attackers can cause a stack overflow and denial of service in Contiki-NG IoT devices by sending crafted IPv6 packets with invalid source routing headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-29001?
CVE-2023-29001 is a high-severity denial of service vulnerability in contiki-ng, published on 27 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Contiki-NG is an open-source, cross-platform operating system for IoT devices. The Contiki-NG operating system processes source routing headers (SRH) in its two alternative RPL protocol implementations. The IPv6 implementation uses the results of this processing to determine whether an incoming packet should be forwarded to another host. Because of missing validation of the resulting next-hop address, an uncontrolled recursion may occur in the tcpip_ipv6_output function in the os/net/ipv6/tcpip.c module when receiving a packet with a next-hop address that is a local address. Attackers that have the possibility to send IPv6 packets to the Contiki-NG host can therefore trigger deeply nested recursive calls, which can cause a stack overflow. The vulnerability has not been patched in the current release of Contiki-NG, but is expected to be patched in the next release. The problem can be fixed by applying the patch in Contiki-NG pull request #2264. Users are advised to either apply the patch manually or to wait for the next release. There are no known workarounds for this vulnerability.
Weakness: CWE-674
Which versions are affected by CVE-2023-29001?
It affects 1 product.
Products include Contiki-Ng Contiki-Ng.
How do I fix CVE-2023-29001?
No fix has been published for CVE-2023-29001 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-29001 being exploited?
There is no known exploitation of CVE-2023-29001 in the wild and no public exploit code.
Other vulnerabilities in contiki-ng
Sources
Also known as GHSA-7p75-mf53-ffwm.