CVE-2021-3861: zephyrproject-rtos zephyr Heap-based Buffer Overflow
CVSS: 8.2v3.1HighModified
AliasesUBUNTU-CVE-2021-3861
Published 07-02-2022Last modified 16-09-2024
Vulnerability summary
CVE-2021-3861 is a high (CVSS 8.2) Heap-based Buffer Overflow vulnerability in zephyrproject-rtos zephyr. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
8.2/10
010
High · v3.1 (CVE.org)EPSS score
0.48%
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.
- 16-09-2024Last modifiedVulnerability information updated.
Description
The RNDIS USB device class includes a buffer overflow vulnerability. 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-hvfp-w4h8-gxvj
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 8.2Preferred score · CVE.org (CNA)
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:HSources3 sources · 6.8–8.2
- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST6.8MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
High 7.2Preferred score · NVD (NIST)
AV:L/AC:L/Au:N/C:C/I:C/A:CSourcesSingle source
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
0.00 pp
From 0.48% on 20-09-2026
20-09-202620-10-2026
EPSS score0.48%
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
Zephyrproject-rtos1 product
- zephyr≥ v2.6.0, < unspecified
3 vendors · 3 products
References
3 links- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvjX Refsource MISCREPORTExploitThird Party Advisory