Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2020-10021
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-10021 is a vulnerability discovered in the Zephyr Real-Time Operating System (RTOS) that involves an Out-of-bounds Write in the USB Mass Storage memoryWrite handler with unaligned Sizes. The vulnerability affects zephyrproject-rtos zephyr version 1.14.1 and later versions, as well as version 2.1.0 and later versions (CVE-MITRE).

Technical details

The vulnerability is classified as an Out-of-bounds Write (CWE-787) that occurs in the USB Mass Storage memoryWrite handler when dealing with unaligned sizes. The issue manifests when the page buffer can overflow if dCBWDataTransferLength is multiple of the BLOCK_SIZE but the host uses OUT packets smaller than MPS during transfer (GitHub-PR-23240).

Impact

The vulnerability could potentially lead to memory corruption when processing USB Mass Storage write operations, which could result in system crashes or potential code execution within the affected scope (CVE-MITRE).

Exploitability

The vulnerability requires physical access to the device through USB connection to be exploited. An attacker could trigger the vulnerability by sending specifically crafted USB Mass Storage write commands with unaligned sizes (GitHub-PR-23240).

Mitigation and workarounds

The issue has been fixed in releases v1.14.2 and v2.2.0. The fix includes implementing proper checks for LBA range and addressing the page buffer overflow condition. Users are recommended to upgrade to these patched versions (GitHub-PR-23455, GitHub-PR-23456).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • seal-binutils
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management