LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21280: Out-of-bounds write when processing 6LoWPAN extension headers

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. It is possible to cause an out-of-bounds write in versions of Contiki-NG prior to 4.6 when transmitting a 6LoWPAN packet with a chain of extension headers. Unfortunately, the written header is not checked to be within the available space, thereby making it possible to write outside the buffer. The problem has been patched in Contiki-NG 4.6. Users can apply the patch for this vulnerability out-of-band as a workaround.

HighCVSS 8.6Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-21280 is a memory corruption flaw in Contiki-NG, an operating system used for IoT devices. Versions before 4.6 can write outside a buffer while handling 6LoWPAN extension headers. The main business risk is disruption of embedded or sensor networks that depend on affected firmware.

Executive priority

Treat this as high priority for environments running Contiki-NG-based IoT devices, especially operational networks where device availability matters. Prioritize inventory first, because downstream affected products are not named in the sources.

Technical view

Affected Contiki-NG versions before 4.6 can perform an out-of-bounds write when transmitting a 6LoWPAN packet containing a chain of extension headers. The advisory maps this to CWE-787 and CVSS 3.1 score 8.6, with network attack vector, low complexity, no privileges, no user interaction, and high availability impact.

Likely exposure

Exposure is most likely in IoT, embedded, or sensor-network deployments that use Contiki-NG before 4.6 and include 6LoWPAN networking. The sources do not identify downstream device vendors, specific products, or managed service platforms.

Exploitation context

The provided sources do not report active exploitation, and the CVE is not listed as KEV in the bundle. The CVSS vector indicates network reachability and no authentication requirement, but the sources do not provide exploit maturity or real-world attack evidence.

Researcher notes

Focus validation on Contiki-NG version, 6LoWPAN use, and whether the upstream fix from PR 1409 is present. Evidence supports patched status in Contiki-NG 4.6, but does not establish exploitation in the wild or downstream product impact.

Mitigation direction

  • Upgrade affected Contiki-NG deployments to version 4.6 or later.
  • Apply the upstream patch out-of-band where full upgrade is not immediately possible.
  • Check device or firmware vendor guidance for Contiki-NG dependency updates.
  • Confirm rebuilt firmware includes the patched 6LoWPAN handling code.

Validation and detection

  • Inventory firmware and SBOMs for Contiki-NG versions earlier than 4.6.
  • Confirm whether deployed devices use Contiki-NG 6LoWPAN networking.
  • Review vendor advisories for downstream firmware exposure and update availability.
  • Verify deployed firmware versions after remediation.
  • Document unsupported affected devices for replacement or compensating controls.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-21280 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.6 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.6CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H3.94.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.6High
CVSS 3.1 vector shape for CVE-2021-21280Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
contiki-ngcontiki-ng< 4.6Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.