CVE-2021-3321: zephyrproject-rtos zephyr Integer Overflow to Buffer Overflow
CVSS: 8.8v3.1HighModified
Published 12-10-2021Last modified 16-09-2024
Vulnerability summary
CVE-2021-3321 is a high (CVSS 8.8) Integer Overflow to Buffer Overflow vulnerability in zephyrproject-rtos zephyr. EPSS estimates a 0.76% chance of exploitation in the next 30 days, higher than 54.5% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
0.76%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 12-10-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
Integer Underflow in Zephyr in IEEE 802154 Fragment Reassembly Header Removal. Zephyr versions >= >=2.4.0 contain Integer Overflow to Buffer Overflow (CWE-680). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-w44j-66g7-xw99
CVSS metrics
3 scores · 2 sources · 2 versionsHigh 8.8Preferred score · NVD (NIST)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSources2 sources · 7.5–8.8
- CVE.orgCNA7.5HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:HDiffers
Medium 5.8Preferred score · NVD (NIST)
AV:A/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
0.76%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
0.00 pp
From 0.76% on 19-09-2026
19-09-202619-10-2026
EPSS score0.76%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundZephyr
Maturity: poc
Weaknesses
CWE · root cause- CWE-680Integer Overflow to Buffer OverflowThe product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.
- CWE-191Integer Underflow (Wrap or Wraparound)The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
Affected systems
Zephyrproject1 product
- zephyr≥ 2.4.0, < 2.5.0
Zephyrproject-rtos1 product
- zephyr≥ >=2.4.0, < unspecified
2 vendors · 2 products
References
1 links- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-w44j-66g7-xw99X Refsource MISCExploitPatchThird Party Advisory