CVE-2022-39274

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-39274
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-39274.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-39274
Related
  • GHSA-7vv8-73pc-63c2
Published
2022-10-06T18:16:16Z
Modified
2025-01-08T14:21:40.861095Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 FRAMETYPEPROPRIETARY 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.

References

Affected packages

Git / github.com/lora-net/loramac-node

Affected ranges

Type
GIT
Repo
https://github.com/lora-net/loramac-node
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

4.*

4.4.2-rc.4

V3.*

V3.4

v2.*

v2.0
v2.1
v2.2
v2.3.RC1
v2.3.RC2

v3.*

v3.0
v3.1
v3.2
v3.3
v3.4.1

v4.*

v4.0.0
v4.1.0
v4.2.0
v4.3.0
v4.3.1
v4.3.2
v4.4.0
v4.4.1
v4.4.2
v4.4.2-rc.1
v4.4.2-rc.2
v4.4.2-rc.3
v4.4.2-rc.5
v4.4.2-rc.6
v4.4.2-rc.7
v4.4.3
v4.4.4
v4.4.5
v4.4.6
v4.4.7
v4.5.0
v4.5.0-rc.1
v4.5.1
v4.5.2
v4.6.0