LiveActive security incident?Get immediate response
CVE Record

CVE-2020-10023: Shell Subsystem Contains a Buffer Overflow Vulnerability In shell_spaces_trim

The shell subsystem contains a buffer overflow, whereby an adversary with physical access to the device is able to cause a memory corruption, resulting in denial of service or possibly code execution within the Zephyr kernel. See NCC-NCC-019 This issue affects: zephyrproject-rtos zephyr version 1.14.0 and later versions. version 2.1.0 and later versions.

MediumCVSS 6.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2020-10023 is a buffer overflow in Zephyr RTOS shell handling. An attacker needs physical access and some local privilege, but successful abuse could crash the device or possibly run code inside the Zephyr kernel. This mainly matters for embedded products exposed to hands-on access.

Executive priority

Treat as a targeted embedded-device risk, not an internet-scale emergency. Prioritize products in public, customer, industrial, or hostile physical environments, especially where device compromise could affect safety, operations, or trust.

Technical view

The issue is a CWE-120 buffer overflow in the Zephyr shell subsystem function shell_spaces_trim. The CVSS vector indicates physical attack, high complexity, low privileges, user interaction, changed scope, and high confidentiality, integrity, and availability impact. Affected source data names zephyrproject-rtos Zephyr 1.14.0 and 2.1.0 onward.

Likely exposure

Exposure is likely limited to products using affected Zephyr builds with the shell subsystem reachable through a physical interface such as a console, debug, or service port. Cloud-only services and devices without accessible shell paths are less likely exposed based on the provided sources.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. Exploitation is constrained by physical access, high attack complexity, low privileges, and user interaction, but the potential kernel impact makes affected field devices worth checking.

Researcher notes

Evidence supports memory corruption in Zephyr kernel context via shell_spaces_trim, with denial of service or possible code execution. The bundle does not provide exact fixed release numbers or exploit details, so validation should focus on build configuration, physical reachability, and vendor patch confirmation.

Mitigation direction

  • Review Zephyr vendor guidance for CVE-2020-10023 and referenced upstream pull requests.
  • Identify shipped firmware built from Zephyr 1.14.0, 2.1.0, or later affected lines.
  • Update affected firmware to a vendor-confirmed fixed Zephyr version or patched downstream release.
  • Restrict physical access to service, console, debug, and maintenance interfaces.
  • Disable or limit shell subsystem access where operationally safe.

Validation and detection

  • Inventory products and firmware builds that include Zephyr RTOS.
  • Confirm whether the Zephyr shell subsystem is enabled in each build.
  • Check whether physical console, debug, or service interfaces expose shell access.
  • Compare downstream source or SBOMs against Zephyr fixes referenced for this CVE.
  • Review device crash logs for unexplained shell-related kernel faults.
Prepared
Confidence
medium
Sources
7

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-120: 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
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2020-10023 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
Medium
CVSS
6.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:P/AC:H/PR:L/UI:R/S:C/C:H/I:H/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
6Source 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
6.9CVSS 3.1MediumCVSS:3.1/AV:P/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H0.36Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.9Medium
CVSS 3.1 vector shape for CVE-2020-10023Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:P/AC:H/PR:L/UI:R/S:C/C:H/I:H/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
zephyrproject-rtoszephyr1.14.0, 2.1.0Listed
Weakness

CWE details

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

CWE-120 · source CWE mapping

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.