Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-33975: gnrc_sixlowpan_frag_rb: fix OOB write in _rbuf_add · RIOT-OS/RIOT@1aeb90e

RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. In version 2023.01 and prior, 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. This issue is fixed in pull request 19680. As a workaround, disable support for fragmented IP datagrams.

CVE
#dos

Expand Up

@@ -461,6 +461,19 @@ static int _rbuf_add(gnrc_netif_hdr_t *netif_hdr, gnrc_pktsnip_t *pkt,

else if (IS_USED(MODULE_GNRC_SIXLOWPAN_FRAG_SFR) &&

sixlowpan_sfr_rfrag_is(pkt->data)) {

entry.super->datagram_size–;

/* Check, if fragment is still small enough to fit datagram size.

* `offset` is 0, as this is the first fragment so it does not have to be added

* here. */

if (frag_size > entry.super->datagram_size) {

DEBUG_PUTS(

"6lo rfrag: fragment too big for resulting datagram, "

“discarding datagram\n”

);

gnrc_pktbuf_release(entry.rbuf->pkt);

gnrc_pktbuf_release(pkt);

gnrc_sixlowpan_frag_rb_remove(entry.rbuf);

return RBUF_ADD_ERROR;

}

}

}

}

Expand Down

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907