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

CVE-2022-1841
NixOS vulnerability analysis and mitigation

Overview

A vulnerability identified as CVE-2022-1841 was discovered in the Zephyr RTOS TCP implementation. The issue affects versions up to and including Zephyr v3.0, specifically in the tcp_flags function within the subsys/net/ip/tcp.c file. The vulnerability was disclosed on August 25, 2022 (GitHub Advisory).

Technical details

The vulnerability is an out-of-bounds write issue in the tcp_flags function. When processing TCP packets, the function does not properly validate the th_flags field in the TCP header. Specifically, when the incoming parameter flags is ECN or CWR, the function attempts to write a null byte (\0) to buf[0-1] when len is 0, resulting in an out-of-bounds write that can modify other data on the stack. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (AttackerKB).

Impact

The vulnerability allows an attacker to perform an out-of-bounds write operation, potentially modifying data on the stack. This can lead to integrity violations and potential system instability. The CVSS scoring indicates that while confidentiality is not impacted, there are low impacts on both integrity and availability of the system (GitHub Advisory).

Exploitability

The vulnerability can be triggered remotely through network access, requires low attack complexity, and does not require any privileges or user interaction. The attack vector is network-based, making it accessible to remote attackers who can send malformed TCP packets to the target system (AttackerKB).

Mitigation and workarounds

The vulnerability has been patched in the Zephyr project through pull request #45796. Users are advised to upgrade to a patched version of the software. The fix was implemented after the vulnerability was disclosed on August 18, 2022 (GitHub 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-91782LOW1.9
  • NixOS logoNixOS
  • gcc10-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
  • gcc-toolset-16-binutils.src
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