CVE-2020-10072
NixOS vulnerability analysis and mitigation

Overview

Improper Handling of Insufficient Permissions or Privileges in Zephyr versions >= v1.14.2 and >= v2.2.0. The vulnerability allows any thread running on the system to read/write a socket file descriptor knowing only the numerical value of the file descriptor, due to lack of management of permissions to network socket API file descriptors (Zephyr Advisory).

Technical details

The vulnerability stems from changes in socket code implementation where regular integers were used as file descriptors with associated net_contexts looked up in a table. This removed the Z_SYSCALL_OBJ() calls which previously verified access to file descriptors. The issue originated when net_context objects tracked as kernel objects (K_OBJ_NET_CONTEXT) were changed, removing the permission verification system. The CVSS v3.1 base score is 5.3 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) (NVD).

Impact

The vulnerability allows unauthorized access to socket file descriptors, potentially compromising the system's security by allowing any thread to manipulate any file descriptor. This affects the confidentiality, integrity, and availability of the system at a low level (Zephyr Advisory).

Exploitability

The vulnerability requires local access with low attack complexity. No user interaction is required to exploit the vulnerability, though local privileges are needed. The vulnerability has been assigned CWE-280 (Improper Handling of Insufficient Permissions or Privileges) (NVD).

Mitigation and workarounds

The issue has been fixed in Zephyr master branch via PR #25804 and in v1.14 via PR #27176. For v2.2, no more releases are planned. The fix involves restoring net_context to kernel object status and implementing permission verification after file descriptor lookup in system calls (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-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 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