Security Resilience

CVE-2023-5563

Zephyrproject Zephyr ≤ 3.4.0

Published
13 October 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
EPSS Score 0.0053 46th percentile
Risk Priority 54 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-5563 is a high-severity Improper Check or Handling of Exceptional Conditions (CWE-703) vulnerability in Zephyrproject Zephyr. Its CVSS base score is 7.1 (High).

Operationally, ranked at the 46th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The SJA1000 CAN controller driver backend automatically attempt to recover from a bus-off event when built with CONFIG_CAN_AUTO_BUS_OFF_RECOVERY=y. This results in calling k_sleep() in IRQ context, causing a fatal exception.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-0397Same product: Zephyrproject Zephyr
CVE-2026-10668Same product: Zephyrproject Zephyr
CVE-2023-3725Same product: Zephyrproject Zephyr
CVE-2026-10673Same product: Zephyrproject Zephyr
CVE-2026-7656Same product: Zephyrproject Zephyr
CVE-2024-8798Same product: Zephyrproject Zephyr
CVE-2024-3077Same product: Zephyrproject Zephyr
CVE-2023-1901Same product: Zephyrproject Zephyr
CVE-2023-4258Same product: Zephyrproject Zephyr
CVE-2026-10675Same product: Zephyrproject Zephyr

Affected Assets

zephyrproject
zephyr
≤ 3.4.0

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-703

Implements explicit check and handling for the exceptional condition of audit logging process failure.

addresses: CWE-703

Establishing and monitoring system metrics with correlation and response actions helps identify and address improper handling of exceptional conditions.

addresses: CWE-703

Provides a defined response to detected conditions by restricting operation, ensuring exceptional conditions are handled rather than ignored or mishandled.

addresses: CWE-703

Contingency training equips users with defined procedures to check and respond to exceptional conditions during disruptions, reducing exploitation of mishandled errors.

addresses: CWE-703

Testing verifies the system's ability to detect, handle, and recover from exceptional conditions as part of the plan, reducing exploitability of improper exception handling.

addresses: CWE-703

Regular updates keep contingency procedures aligned with system changes, providing structured handling for exceptional conditions that would otherwise allow unmitigated exploitation.

addresses: CWE-703

Policy defines checks and handling for exceptional conditions arising from security incidents.

addresses: CWE-703

Performing IR tests ensures exceptional conditions are properly checked and handled to enable effective response.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's combined programme (SAST, code review, penetration testing) reaches most CWE-703 instances: static analysis has well-developed checkers for unchecked return values, missing null checks, and overly broad exception handlers (the demonstrative examples), and code review catches error-handling omissions in first-party source. The remainder is bounded and nameable — architectural error-handling decisions, rare exceptional conditions that do not surface under testing, and error-path logic that requires understanding business context rather than pattern matching.

prevents

Awareness and technical training can teach developers to check return values and handle exceptions, reducing the introduction of CWE-703 flaws, but human fallibility and the breadth of exceptional-condition cases leave most instances not reliably prevented.

prevents

A.8.28 mandates secure coding practices that directly address exception handling (return-value checks, specific exception types, edge-case handling) and explicitly requires analysis of common programming errors, so a system under the clause sees fewer improper-exception-handling defects; but the clause mandates a practice whose coverage depends on implementation rigor, leaving a nameable remainder of instances the practice does not reach.

finds

A.8.8's reach is DISCLOSURE — it sees only vendor-published flaws. CWE-703 is a broad Pillar class whose instances are mostly application-specific exception-handling defects that rarely surface as CVEs; the minority that do (e.g. CVE-2022-22224 OSPF TLV handling, the cryptocurrency library chain) are caught by A.8.8's scanning and advisory monitoring, but the bulk of CWE-703 instances live in first-party code and are discovered only by source-reading or runtime testing, which A.8.8 does not perform.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-703, a pillar-level weakness, and none of its children carries one either.

References