CVE-2021-3835: zephyrproject-rtos zephyr Heap-based Buffer Overflow
CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2021-3835
Published 07-02-2022Last modified 17-09-2024
Vulnerability summary
CVE-2021-3835 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in zephyrproject-rtos zephyr. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 53.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
0.74%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 07-02-2022PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
Buffer overflow in usb device class. Zephyr versions >= v2.6.0 contain Heap-based Buffer Overflow (CWE-122). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf
CVSS metrics
4 scores · 3 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:HSources3 sources · 8.2–8.8
- CVE.orgCNA8.2HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Medium 5.8Preferred score · NVD (NIST)
AV:A/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
0.74%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
0.00 pp
From 0.74% on 20-09-2026
20-09-202620-10-2026
EPSS score0.74%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundZephyr
Maturity: poc
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Ubuntu1 product
- zephyrAll versions (No fix recorded)
Zephyrproject1 product
- zephyr≥ 2.6.0, < 2.7.1 | 3.0.0:rc1 | 3.0.0:rc2
Zephyrproject-rtos1 product
- zephyr≥ v2.6.0, < unspecified
3 vendors · 3 products
References
3 links- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jfX Refsource MISCREPORTExploitThird Party Advisory