CVE-2022-0553
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-0553 is a security vulnerability discovered in the Zephyr Real-Time Operating System (RTOS) affecting versions prior to 3.0. The vulnerability was disclosed on May 31, 2022, and relates to the USB DFU (Device Firmware Update) functionality. The issue allows unauthorized retrieval of unencrypted firmware images from slot 0 of the device, even when image encryption is enabled (Zephyr Advisory).

Technical details

The vulnerability stems from a missing security check in the USB DFU implementation, specifically around the code responsible for uploading firmware from the device to the host. The issue is located in the subsys/usb/class/dfu/usb_dfu.c file. When encrypted images are used, the system fails to prevent the retrieval of unencrypted firmware from slot 0. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating adjacent network access requirements but high confidentiality impact (Zephyr Advisory).

Impact

The vulnerability allows an attacker with physical access to the device to retrieve unencrypted firmware images from slot 0, even when image encryption is enabled. This could lead to unauthorized access to proprietary firmware code and potential exposure of sensitive information embedded in the firmware (Zephyr Advisory).

Mitigation and workarounds

The issue has been fixed in Zephyr version 3.0 through pull request #42424. For systems that cannot be updated, developers are advised to avoid using USB DFU when encrypted images are required (Zephyr Advisory).

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-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 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