PT-2022-24862 · Unknown · Loramac-Node

Mluis1

·

Published

2022-10-06

·

Updated

2023-06-27

·

CVE-2022-39274

CVSS v3.1

7.5

High

VectorAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions LoRaMac-node versions prior to 4.7.0
Description The issue is caused by improper size validation of incoming radio frames, which can lead to a buffer overflow. Specifically, the function ProcessRadioRxDone expects incoming radio frames to have at least a payload of one byte or more. An empty payload can result in a 1-byte out-of-bounds read of user-controlled content. An attacker can craft a FRAME TYPE PROPRIETARY frame with size -1, leading to a 65280-byte out-of-bounds memcopy with partially controlled attacker data. This can cause a Denial of Service (DoS) or potentially allow the attacker to gain control over the execution.
Recommendations For versions prior to 4.7.0, upgrade to version 4.7.0 or later by updating the package or manually applying the patch commit e851b079.

Exploit

Fix

Buffer Overflow

Weakness Enumeration

Related Identifiers

CVE-2022-39274
GHSA-7VV8-73PC-63C2

Affected Products

Loramac-Node