VYPR
Unrated severityNVD Advisory· Published Dec 31, 2023· Updated Aug 4, 2024

CVE-2021-46901

CVE-2021-46901

Description

examples/6lbr/apps/6lbr-webserver/httpd.c in CETIC-6LBR (aka 6lbr) 1.5.0 has a strcat stack-based buffer overflow via a request for a long URL over a 6LoWPAN network.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A stack-based buffer overflow in the 6lbr webserver allows remote code execution via a crafted long URL over 6LoWPAN.

Vulnerability

A stack-based buffer overflow exists in the httpd.c file of the CETIC-6LBR (6lbr) project, version 1.5.0. The vulnerability is located in the examples/6lbr/apps/6lbr-webserver/httpd.c file at line 119, where the strcat function is used without bounds checking when constructing a response for a requested URL [1][2]. An attacker can send a specially crafted HTTP request with an excessively long URL over a 6LoWPAN network, causing the stack buffer to overflow.

Exploitation

An attacker must have network access to the affected device via a 6LoWPAN network. No authentication is required. The attacker sends an HTTP request with an overly long URL to the webserver. The server, when processing the URL, uses strcat to append data to a fixed-size stack buffer, leading to a stack-based buffer overflow [1][2].

Impact

Successful exploitation allows the attacker to overwrite the stack, potentially executing arbitrary code. This can lead to full compromise of the device, including disclosure of sensitive information, modification of data, or denial of service. The impact is high, as the webserver typically runs with privileges of the process, which may have significant system access.

Mitigation

As of the available references, no official patched version has been released. Users should consider disabling the webserver component if not required, or apply network-level filtering to restrict access to the 6LoWPAN network. The issue is tracked in the project's issue tracker [2].

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • CETIC/6lbrdescription
  • CETIC/6lbrllm-create
    Range: = 1.5.0

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.