CVE-2022-39274
LoRaMac-node Buffer Overflow
Description
LoRaMac-node is a reference implementation and documentation of a LoRa network node. Versions of LoRaMac-node prior to 4.7.0 are vulnerable to a buffer overflow. Improper size validation of the incoming radio frames can lead to an 65280-byte out-of-bounds write. The function `ProcessRadioRxDone` implicitly expects incoming radio frames to have at least a payload of one byte or more. An empty payload leads to a 1-byte out-of-bounds read of user controlled content when the payload buffer is reused. This allows an attacker to craft a FRAME_TYPE_PROPRIETARY frame with size -1 which results in an 65280-byte out-of-bounds memcopy likely with partially controlled attacker data. Corrupting a large part if the data section is likely to cause a DoS. If the large out-of-bounds write does not immediately crash the attacker may gain control over the execution due to now controlling large parts of the data section. Users are advised to upgrade either by updating their package or by manually applying the patch commit `e851b079`.
INFO
Published Date :
Oct. 6, 2022, 6:16 p.m.
Last Modified :
Nov. 21, 2024, 7:17 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-39274 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-39274
.
URL | Resource |
---|---|
https://github.com/Lora-net/LoRaMac-node/commit/e851b079c82ba1bcf3f4d291ab69a571b0bf458a | Patch Third Party Advisory |
https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.7.0 | Broken Link Third Party Advisory |
https://github.com/Lora-net/LoRaMac-node/security/advisories/GHSA-7vv8-73pc-63c2 | Exploit Third Party Advisory |
https://github.com/Lora-net/LoRaMac-node/commit/e851b079c82ba1bcf3f4d291ab69a571b0bf458a | Patch Third Party Advisory |
https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.7.0 | Broken Link Third Party Advisory |
https://github.com/Lora-net/LoRaMac-node/security/advisories/GHSA-7vv8-73pc-63c2 | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Shell Python Makefile Dockerfile
None
Rust C Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-39274
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39274
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/Lora-net/LoRaMac-node/commit/e851b079c82ba1bcf3f4d291ab69a571b0bf458a Added Reference https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.7.0 Added Reference https://github.com/Lora-net/LoRaMac-node/security/advisories/GHSA-7vv8-73pc-63c2 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jun. 27, 2023
Action Type Old Value New Value Removed CWE NIST CWE-120 Added CWE NIST CWE-193 -
Modified Analysis by [email protected]
Dec. 08, 2022
Action Type Old Value New Value -
CVE Modified by [email protected]
Oct. 11, 2022
Action Type Old Value New Value Removed Reference https://www.cve.org/CVERecord?id=CVE-2022-39274 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 11, 2022
Action Type Old Value New Value Added Reference https://www.cve.org/CVERecord?id=CVE-2022-39274 [No Types Assigned] Added CWE GitHub, Inc. CWE-120 -
Initial Analysis by [email protected]
Oct. 07, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/Lora-net/LoRaMac-node/commit/e851b079c82ba1bcf3f4d291ab69a571b0bf458a No Types Assigned https://github.com/Lora-net/LoRaMac-node/commit/e851b079c82ba1bcf3f4d291ab69a571b0bf458a Patch, Third Party Advisory Changed Reference Type https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.7.0 No Types Assigned https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.7.0 Broken Link, Third Party Advisory Changed Reference Type https://github.com/Lora-net/LoRaMac-node/security/advisories/GHSA-7vv8-73pc-63c2 No Types Assigned https://github.com/Lora-net/LoRaMac-node/security/advisories/GHSA-7vv8-73pc-63c2 Exploit, Third Party Advisory Added CWE NIST CWE-120 Added CPE Configuration OR *cpe:2.3:a:semtech:loramac-node:*:*:*:*:*:*:*:* versions up to (excluding) 4.7.0 -
CVE Modified by [email protected]
Oct. 07, 2022
Action Type Old Value New Value Removed CWE GitHub, Inc. CWE-120
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-39274
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-39274
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.07 }} -0.16%
score
0.18925
percentile