Part 1
요약·해설
원문에 수록된 7개 연도와 CVE 97건을 모두 번역하고, CVE·GHSA/ZEPSEC·수정 PR 링크를 원문에서 추출해 보존했습니다.
2017~2024
97건
CVE · Tracker · PR
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
AE5485B84B491AA83147E8BD7550C0B9FCC07B922858BC44E1D63E47C95C9E98
.. _vulnerabilities:
Vulnerabilities
###############
This page collects all of the vulnerabilities that are discovered and
fixed in each release. It will also often have more details than is
available in the releases. Some vulnerabilities are deemed to be
sensitive, and will not be publicly discussed until there is
sufficient time to fix them. Because the release notes are locked to
a version, the information here can be updated after the embargo is
lifted.
CVE-2017
========
CVE-2017-14199
--------------
Buffer overflow in :code:`getaddrinfo()`.
- `CVE-2017-14199 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14199>`_
- `Zephyr project bug tracker ZEPSEC-12
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-12>`_
- `PR6158 fix for 1.11.0
<https://github.com/zephyrproject-rtos/zephyr/pull/6158>`_
CVE-2017-14201
--------------
The shell DNS command can cause unpredictable results due to misuse of
stack variables.
Use After Free vulnerability in the Zephyr shell allows a serial or
telnet connected user to cause denial of service, and possibly remote
code execution.
This has been fixed in release v1.14.0.
- `CVE-2017-14201 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14201>`_
- `Zephyr project bug tracker ZEPSEC-17
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-17>`_
- `PR13260 fix for v1.14.0
<https://github.com/zephyrproject-rtos/zephyr/pull/13260>`_
CVE-2017-14202
--------------
The shell implementation does not protect against buffer overruns
resulting in unpredictable behavior.
Improper Restriction of Operations within the Bounds of a Memory
Buffer vulnerability in the shell component of Zephyr allows a serial
or telnet connected user to cause a crash, possibly with arbitrary
code execution.
This has been fixed in release v1.14.0.
- `CVE-2017-14202 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14202>`_
- `Zephyr project bug tracker ZEPSEC-18
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-18>`_
- `PR13048 fix for v1.14.0
<https://github.com/zephyrproject-rtos/zephyr/pull/13048>`_
CVE-2019
========
CVE-2019-9506
-------------
The Bluetooth BR/EDR specification up to and including version 5.1
permits sufficiently low encryption key length and does not prevent an
attacker from influencing the key length negotiation. This allows
practical brute-force attacks (aka "KNOB") that can decrypt traffic
and inject arbitrary ciphertext without the victim noticing.
- `CVE-2019-9506 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9506>`_
- `Zephyr project bug tracker ZEPSEC-20
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-20>`_
- `PR18702 fix for v1.14.0
<https://github.com/zephyrproject-rtos/zephyr/pull/18702>`_
- `PR18659 fix for v2.0.0
<https://github.com/zephyrproject-rtos/zephyr/pull/18659>`_
CVE-2020
========
CVE-2020-10019
--------------
Buffer Overflow vulnerability in USB DFU of zephyr allows a USB
connected host to cause possible remote code execution.
This has been fixed in releases v1.14.2, v2.2.0, and v2.1.1.
- `CVE-2020-10019 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10019>`_
- `Zephyr project bug tracker ZEPSEC-25
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-25>`_
- `PR23460 fix for 1.14.x
<https://github.com/zephyrproject-rtos/zephyr/pull/23460>`_
- `PR23457 fix for 2.1.x
<https://github.com/zephyrproject-rtos/zephyr/pull/23457>`_
- `PR23190 fix in 2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23190>`_
CVE-2020-10021
--------------
Out-of-bounds write in USB Mass Storage with unaligned sizes
Out-of-bounds Write in the USB Mass Storage memoryWrite handler with
unaligned Sizes.
See NCC-ZEP-024, NCC-ZEP-025, NCC-ZEP-026
This has been fixed in releases v1.14.2, and v2.2.0.
- `CVE-2020-10021 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10021>`_
- `Zephyr project bug tracker ZEPSEC-26
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-26>`_
- `PR23455 fix for v1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/23455>`_
- `PR23456 fix for the v2.1 branch
<https://github.com/zephyrproject-rtos/zephyr/pull/23456>`_
- `PR23240 fix for v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23240>`_
CVE-2020-10022
--------------
UpdateHub Module Copies a Variable-Size Hash String Into a Fixed-Size Array
A malformed JSON payload that is received from an UpdateHub server may
trigger memory corruption in the Zephyr OS. This could result in a
denial of service in the best case, or code execution in the worst
case.
See NCC-ZEP-016
This has been fixed in the below pull requests for main, branch from
v2.1.0, and branch from v2.2.0.
- `CVE-2020-10022 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10022>`_
- `Zephyr project bug tracker ZEPSEC-28
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-28>`_
- `PR24154 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/24154>`_
- `PR24065 fix for branch from v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/24065>`_
- `PR24066 fix for branch from v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/24066>`_
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-ZEP-019
This has been fixed in releases v1.14.2, v2.2.0, and in a branch from
v2.1.0,
- `CVE-2020-10023 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10023>`_
- `Zephyr project bug tracker ZEPSEC-29
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-29>`_
- `PR23646 fix for v1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/23646>`_
- `PR23649 fix for branch from v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23649>`_
- `PR23304 fix for v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23304>`_
CVE-2020-10024
--------------
ARM Platform Uses Signed Integer Comparison When Validating Syscall
Numbers
The arm platform-specific code uses a signed integer comparison when
validating system call numbers. An attacker who has obtained code
execution within a user thread is able to elevate privileges to that
of the kernel.
See NCC-ZEP-001
This has been fixed in releases v1.14.2, and v2.2.0, and in a branch
from v2.1.0,
- `CVE-2020-10024 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10024>`_
- `Zephyr project bug tracker ZEPSEC-30
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-30>`_
- `PR23535 fix for v1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/23535>`_
- `PR23498 fix for branch from v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23498>`_
- `PR23323 fix for v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23323>`_
CVE-2020-10027
--------------
ARC Platform Uses Signed Integer Comparison When Validating Syscall
Numbers
An attacker who has obtained code execution within a user thread is
able to elevate privileges to that of the kernel.
See NCC-ZEP-001
This has been fixed in releases v1.14.2, and v2.2.0, and in a branch
from v2.1.0.
- `CVE-2020-10027 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10027>`_
- `Zephyr project bug tracker ZEPSEC-35
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-35>`_
- `PR23500 fix for v1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/23500>`_
- `PR23499 fix for branch from v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23499>`_
- `PR23328 fix for v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23328>`_
CVE-2020-10028
--------------
Multiple Syscalls In GPIO Subsystem Performs No Argument Validation
Multiple syscalls with insufficient argument validation
See NCC-ZEP-006
This has been fixed in releases v1.14.2, and v2.2.0, and in a branch
from v2.1.0.
- `CVE-2020-10028 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10028>`_
- `Zephyr project bug tracker ZEPSEC-32
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-32>`_
- `PR23733 fix for v1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/23733>`_
- `PR23737 fix for branch from v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23737>`_
- `PR23308 fix for v2.2.0 (gpio patch)
<https://github.com/zephyrproject-rtos/zephyr/pull/23308>`_
CVE-2020-10058
--------------
Multiple Syscalls In kscan Subsystem Performs No Argument Validation
Multiple syscalls in the Kscan subsystem perform insufficient argument
validation, allowing code executing in userspace to potentially gain
elevated privileges.
See NCC-ZEP-006
This has been fixed in a branch from v2.1.0, and release v2.2.0.
- `CVE-2020-10058 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10058>`_
- `Zephyr project bug tracker ZEPSEC-34
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-34>`_
- `PR23748 fix for branch from v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23748>`_
- `PR23308 fix for v2.2.0 (kscan patch)
<https://github.com/zephyrproject-rtos/zephyr/pull/23308>`_
CVE-2020-10059
--------------
UpdateHub Module Explicitly Disables TLS Verification
The UpdateHub module disables DTLS peer checking, which allows for a
man in the middle attack. This is mitigated by firmware images
requiring valid signatures. However, there is no benefit to using DTLS
without the peer checking.
See NCC-ZEP-018
This has been fixed in a PR against Zephyr main.
- `CVE-2020-10059 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10059>`_
- `Zephyr project bug tracker ZEPSEC-36
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-36>`_
- `PR24954 fix on main (to be fixed in v2.3.0)
<https://github.com/zephyrproject-rtos/zephyr/pull/24954>`_
- `PR24954 fix v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/24999>`_
- `PR24954 fix v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/24997>`_
CVE-2020-10060
--------------
UpdateHub Might Dereference An Uninitialized Pointer
In updatehub_probe, right after JSON parsing is complete, objects\[1]
is accessed from the output structure in two different places. If the
JSON contained less than two elements, this access would reference
uninitialized stack memory. This could result in a crash, denial of
service, or possibly an information leak.
Recommend disabling updatehub until such a time as a fix can be made
available.
See NCC-ZEP-030
This has been fixed in a PR against Zephyr main.
- `CVE-2020-10060 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10060>`_
- `Zephyr project bug tracker ZEPSEC-37
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-37>`_
- `PR27865 fix on main (to be fixed in v2.4.0)
<https://github.com/zephyrproject-rtos/zephyr/pull/27865>`_
- `PR27865 fix for v2.3.0
<https://github.com/zephyrproject-rtos/zephyr/pull/27889>`_
- `PR27865 fix for v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/27891>`_
- `PR27865 fix for v2.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/27893>`_
CVE-2020-10061
--------------
Error handling invalid packet sequence
Improper handling of the full-buffer case in the Zephyr Bluetooth
implementation can result in memory corruption.
This has been fixed in branches for v1.14.0, v2.2.0, and will be
included in v2.3.0.
- `CVE-2020-10061 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10061>`_
- `Zephyr project bug tracker ZEPSEC-75
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-75>`_
- `PR23516 fix for v2.3 (split driver)
<https://github.com/zephyrproject-rtos/zephyr/pull/23516>`_
- `PR23517 fix for v2.3 (legacy driver)
<https://github.com/zephyrproject-rtos/zephyr/pull/23517>`_
- `PR23091 fix for branch from v1.14.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23091>`_
- `PR23547 fix for branch from v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23547>`_
CVE-2020-10062
--------------
Packet length decoding error in MQTT
CVE: An off-by-one error in the Zephyr project MQTT packet length
decoder can result in memory corruption and possible remote code
execution. NCC-ZEP-031
The MQTT packet header length can be 1 to 4 bytes. An off-by-one error
in the code can result in this being interpreted as 5 bytes, which can
cause an integer overflow, resulting in memory corruption.
This has been fixed in main for v2.3.
- `CVE-2020-10062 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10062>`_
- `Zephyr project bug tracker ZEPSEC-84
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-84>`_
- `commit 11b7a37d for v2.3
<https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/11b7a37d9a0b438270421b224221d91929843de4>`_
- `NCC-ZEP report`_ (NCC-ZEP-031)
.. _NCC-ZEP report: https://research.nccgroup.com/2020/05/26/research-report-zephyr-and-mcuboot-security-assessment
CVE-2020-10063
--------------
Remote Denial of Service in CoAP Option Parsing Due To Integer
Overflow
A remote adversary with the ability to send arbitrary CoAP packets to
be parsed by Zephyr is able to cause a denial of service.
This has been fixed in main for v2.3.
- `CVE-2020-10063 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10063>`_
- `Zephyr project bug tracker ZEPSEC-55
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-55>`_
- `PR24435 fix in main for v2.3
<https://github.com/zephyrproject-rtos/zephyr/pull/24435>`_
- `PR24531 fix for branch from v2.2
<https://github.com/zephyrproject-rtos/zephyr/pull/24531>`_
- `PR24535 fix for branch from v2.1
<https://github.com/zephyrproject-rtos/zephyr/pull/24535>`_
- `PR24530 fix for branch from v1.14
<https://github.com/zephyrproject-rtos/zephyr/pull/24530>`_
- `NCC-ZEP report`_ (NCC-ZEP-032)
CVE-2020-10064
--------------
Improper Input Frame Validation in ieee802154 Processing
- `CVE-2020-10064 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10064>`_
- `Zephyr project bug tracker ZEPSEC-65
<https://zephyrprojectsec.atlasssian.net/browse/ZEPSEC-65>`_
- `PR24971 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/24971>`_
- `PR33451 fix for v1.4
<https://github.com/zephyrproject-rtos/zephyr/pull/33451>`_
CVE-2020-10065
--------------
OOB Write after not validating user-supplied length (<= 0xffff) and
copying to fixed-size buffer (default: 77 bytes) for HCI_ACL packets in
bluetooth HCI over SPI driver.
- `CVE-2020-10065 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10065>`_
- `Zephyr project bug tracker ZEPSEC-66
<https://zephyrprojectsec.atlasssian.net/browse/ZEPSEC-66>`_
- This issue has not been fixed.
CVE-2020-10066
--------------
Incorrect Error Handling in Bluetooth HCI core
In hci_cmd_done, the buf argument being passed as null causes
nullpointer dereference.
- `CVE-2020-10066 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10066>`_
- `Zephyr project bug tracker ZEPSEC-67
<https://zephyrprojectsec.atlasssian.net/browse/ZEPSEC-67>`_
- `PR24902 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/24902>`_
- `PR25089 fix for v1.4
<https://github.com/zephyrproject-rtos/zephyr/pull/25089>`_
CVE-2020-10067
--------------
Integer Overflow In is_in_region Allows User Thread To Access Kernel Memory
A malicious userspace application can cause a integer overflow and
bypass security checks performed by system call handlers. The impact
would depend on the underlying system call and can range from denial
of service to information leak to memory corruption resulting in code
execution within the kernel.
See NCC-ZEP-005
This has been fixed in releases v1.14.2, and v2.2.0.
- `CVE-2020-10067 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10067>`_
- `Zephyr project bug tracker ZEPSEC-27
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-27>`_
- `PR23653 fix for v1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/23653>`_
- `PR23654 fix for the v2.1 branch
<https://github.com/zephyrproject-rtos/zephyr/pull/23654>`_
- `PR23239 fix for v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23239>`_
CVE-2020-10068
--------------
Zephyr Bluetooth DLE duplicate requests vulnerability
In the Zephyr project Bluetooth subsystem, certain duplicate and
back-to-back packets can cause incorrect behavior, resulting in a
denial of service.
This has been fixed in branches for v1.14.0, v2.2.0, and will be
included in v2.3.0.
- `CVE-2020-10068 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10068>`_
- `Zephyr project bug tracker ZEPSEC-78
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-78>`_
- `PR23707 fix for v2.3 (split driver)
<https://github.com/zephyrproject-rtos/zephyr/pull/23707>`_
- `PR23708 fix for v2.3 (legacy driver)
<https://github.com/zephyrproject-rtos/zephyr/pull/23708>`_
- `PR23091 fix for branch from v1.14.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23091>`_
- `PR23964 fix for v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23964>`_
CVE-2020-10069
--------------
Zephyr Bluetooth unchecked packet data results in denial of service
An unchecked parameter in bluetooth data can result in an assertion
failure, or division by zero, resulting in a denial of service attack.
This has been fixed in branches for v1.14.0, v2.2.0, and will be
included in v2.3.0.
- `CVE-2020-10069 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10069>`_
- `Zephyr project bug tracker ZEPSEC-81
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-81>`_
- `PR23705 fix for v2.3 (split driver)
<https://github.com/zephyrproject-rtos/zephyr/pull/23705>`_
- `PR23706 fix for v2.3 (legacy driver)
<https://github.com/zephyrproject-rtos/zephyr/pull/23706>`_
- `PR23091 fix for branch from v1.14.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23091>`_
- `PR23963 fix for branch from v2.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/23963>`_
CVE-2020-10070
--------------
MQTT buffer overflow on receive buffer
In the Zephyr Project MQTT code, improper bounds checking can result
in memory corruption and possibly remote code execution. NCC-ZEP-031
When calculating the packet length, arithmetic overflow can result in
accepting a receive buffer larger than the available buffer space,
resulting in user data being written beyond this buffer.
This has been fixed in main for v2.3.
- `CVE-2020-10070 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10070>`_
- `Zephyr project bug tracker ZEPSEC-85
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-85>`_
- `commit 0b39cbf3 for v2.3
<https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/0b39cbf3c01d7feec9d0dd7cc7e0e374b6113542>`_
- `NCC-ZEP report`_ (NCC-ZEP-031)
CVE-2020-10071
--------------
Insufficient publish message length validation in MQTT
The Zephyr MQTT parsing code performs insufficient checking of the
length field on publish messages, allowing a buffer overflow and
potentially remote code execution. NCC-ZEP-031
This has been fixed in main for v2.3.
- `CVE-2020-10071 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10071>`_
- `Zephyr project bug tracker ZEPSEC-86
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-86>`_
- `commit 989c4713 fix for v2.3
<https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/989c4713ba429aa5105fe476b4d629718f3e6082>`_
- `NCC-ZEP report`_ (NCC-ZEP-031)
CVE-2020-10072
--------------
All threads can access all socket file descriptors
There is no management of permissions to network socket API file
descriptors. Any thread running on the system may read/write a socket
file descriptor knowing only the numerical value of the file
descriptor.
- `CVE-2020-10072 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10072>`_
- `Zephyr project bug tracker ZEPSEC-87
<https://zephyrprojectsec.atlasssian.net/browse/ZEPSEC-87>`_
- `PR25804 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/25804>`_
- `PR27176 fix for v1.4
<https://github.com/zephyrproject-rtos/zephyr/pull/27176>`_
CVE-2020-10136
-------------------
IP-in-IP protocol routes arbitrary traffic by default zephyrproject
- `CVE-2020-10136 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10136>`_
- `Zephyr project bug tracker ZEPSEC-64
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-64>`_
CVE-2020-13598
--------------
FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat
Performing fs_stat on a file with a filename longer than 12
characters long will cause a buffer overflow.
- `CVE-2020-13598 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13598>`_
- `Zephyr project bug tracker ZEPSEC-88
<https://zephyrprojectsec.atlasssian.net/browse/ZEPSEC-88>`_
- `PR25852 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/25852>`_
- `PR28782 fix for v2.3
<https://github.com/zephyrproject-rtos/zephyr/pull/28782>`_
- `PR33577 fix for v1.4
<https://github.com/zephyrproject-rtos/zephyr/pull/33577>`_
CVE-2020-13599
--------------
Security problem with settings and littlefs
When settings is used in combination with littlefs all security
related information can be extracted from the device using MCUmgr and
this could be used e.g in bt-mesh to get the device key, network key,
app keys from the device.
- `CVE-2020-13599 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13599>`_
- `Zephyr project bug tracker ZEPSEC-57
<https://zephyrprojectsec.atlasssian.net/browse/ZEPSEC-57>`_
- `PR26083 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/26083>`_
CVE-2020-13600
-------------------
Malformed SPI in response for eswifi can corrupt kernel memory
- `CVE-2020-13600 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13600>`_
- `Zephyr project bug tracker ZEPSEC-91
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-91>`_
- `PR26712 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/26712>`_
CVE-2020-13601
--------------
Possible read out of bounds in dns read
- `CVE-2020-13601 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13601>`_
- `Zephyr project bug tracker ZEPSEC-92
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-92>`_
- `PR27774 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/27774>`_
- `PR30503 fix for v1.4
<https://github.com/zephyrproject-rtos/zephyr/pull/30503>`_
CVE-2020-13602
--------------
Remote Denial of Service in LwM2M do_write_op_tlv
In the Zephyr LwM2M implementation, malformed input can result in an
infinite loop, resulting in a denial of service attack.
- `CVE-2020-13602 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13602>`_
- `Zephyr project bug tracker ZEPSEC-56
<https://zephyrprojectsec.atlasssian.net/browse/ZEPSEC-56>`_
- `PR26571 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/26571>`_
- `PR33578 fix for v1.4
<https://github.com/zephyrproject-rtos/zephyr/pull/33578>`_
CVE-2020-13603
--------------
Possible overflow in mempool
* Zephyr offers pre-built 'malloc' wrapper function instead.
* The 'malloc' function is wrapper for the 'sys_mem_pool_alloc' function
* sys_mem_pool_alloc allocates 'size + WB_UP(sizeof(struct sys_mem_pool_block))' in an unsafe manner.
* Asking for very large size values leads to internal integer wrap-around.
* Integer wrap-around leads to successful allocation of very small memory.
* For example: calling malloc(0xffffffff) leads to successful allocation of 7 bytes.
* That leads to heap overflow.
- `CVE-2020-13603 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13603>`_
- `Zephyr project bug tracker ZEPSEC-111
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-111>`_
- `PR31796 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/31796>`_
- `PR32808 fix for v1.4
<https://github.com/zephyrproject-rtos/zephyr/pull/26571>`_
CVE-2021
========
CVE-2021-3319
-------------
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses
Improper processing of omitted source and destination addresses in
ieee802154 frame validation (ieee802154_validate_frame)
This has been fixed in main for v2.5.0
- `CVE-2020-3319 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3319>`_
- `Zephyr project bug tracker GHSA-94jg-2p6q-5364
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-94jg-2p6q-5364>`_
- `PR31908 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/31908>`_
CVE-2021-3320
-------------------
Mismatch between validation and handling of 802154 ACK frames, where
ACK frames are considered during validation, but not during actual
processing, leading to a type confusion.
- `CVE-2020-3320 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3320>`_
- `PR31908 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/31908>`_
CVE-2021-3321
-------------
Incomplete check of minimum IEEE 802154 fragment size leading to an
integer underflow.
- `CVE-2020-3321 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3321>`_
- `Zephyr project bug tracker ZEPSEC-114
<https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-114>`_
- `PR33453 fix for v2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/33453>`_
CVE-2021-3323
-------------
Integer Underflow in 6LoWPAN IPHC Header Uncompression
This has been fixed in main for v2.5.0
- `CVE-2020-3323 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3323>`_
- `Zephyr project bug tracker GHSA-89j6-qpxf-pfpc
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-89j6-qpxf-pfpc>`_
- `PR 31971 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/31971>`_
CVE-2021-3430
-------------
Assertion reachable with repeated LL_CONNECTION_PARAM_REQ.
This has been fixed in main for v2.6.0
- `CVE-2021-3430 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3430>`_
- `Zephyr project bug tracker GHSA-46h3-hjcq-2jjr
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-46h3-hjcq-2jjr>`_
- `PR 33272 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/33272>`_
- `PR 33369 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33369>`_
- `PR 33759 fix for 1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/33759>`_
CVE-2021-3431
-------------
BT: Assertion failure on repeated LL_FEATURE_REQ
This has been fixed in main for v2.6.0
- `CVE-2021-3431 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3431>`_
- `Zephyr project bug tracker GHSA-7548-5m6f-mqv9
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7548-5m6f-mqv9>`_
- `PR 33340 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/33340>`_
- `PR 33369 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33369>`_
CVE-2021-3432
-------------
Invalid interval in CONNECT_IND leads to Division by Zero
This has been fixed in main for v2.6.0
- `CVE-2021-3432 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3432>`_
- `Zephyr project bug tracker GHSA-7364-p4wc-8mj4
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7364-p4wc-8mj4>`_
- `PR 33278 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/33278>`_
- `PR 33369 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33369>`_
CVE-2021-3433
-------------
BT: Invalid channel map in CONNECT_IND results to Deadlock
This has been fixed in main for v2.6.0
- `CVE-2021-3433 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3433>`_
- `Zephyr project bug tracker GHSA-3c2f-w4v6-qxrp
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3c2f-w4v6-qxrp>`_
- `PR 33278 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/33278>`_
- `PR 33369 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33369>`_
CVE-2021-3434
-------------
L2CAP: Stack based buffer overflow in le_ecred_conn_req()
This has been fixed in main for v2.6.0
- `CVE-2021-3434 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3434>`_
- `Zephyr project bug tracker GHSA-8w87-6rfp-cfrm
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8w87-6rfp-cfrm>`_
- `PR 33305 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/33305>`_
- `PR 33419 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33419>`_
- `PR 33418 fix for 1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/33418>`_
CVE-2021-3435
-------------
L2CAP: Information leakage in le_ecred_conn_req()
This has been fixed in main for v2.6.0
- `CVE-2021-3435 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3435>`_
- `Zephyr project bug tracker GHSA-xhg3-gvj6-4rqh
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xhg3-gvj6-4rqh>`_
- `PR 33305 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/33305>`_
- `PR 33419 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33419>`_
- `PR 33418 fix for 1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/33418>`_
CVE-2021-3436
-------------
Bluetooth: Possible to overwrite an existing bond during keys
distribution phase when the identity address of the bond is known
During the distribution of the identity address information we don’t
check for an existing bond with the same identity address.This means
that a duplicate entry will be created in RAM while the newest entry
will overwrite the existing one in persistent storage.
This has been fixed in main for v2.6.0
- `CVE-2021-3436 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3436>`_
- `Zephyr project bug tracker GHSA-j76f-35mc-4h63
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-j76f-35mc-4h63>`_
- `PR 33266 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/33266>`_
- `PR 33432 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33432>`_
- `PR 33433 fix for 2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/33433>`_
- `PR 33718 fix for 1.14.2
<https://github.com/zephyrproject-rtos/zephyr/pull/33718>`_
CVE-2021-3454
-------------
Truncated L2CAP K-frame causes assertion failure
For example, sending L2CAP K-frame where SDU length field is truncated
to only one byte, causes assertion failure in previous releases of
Zephyr. This has been fixed in master by commit 0ba9437 but has not
yet been backported to older release branches.
This has been fixed in main for v2.6.0
- `CVE-2021-3454 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3454>`_
- `Zephyr project bug tracker GHSA-fx88-6c29-vrp3
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fx88-6c29-vrp3>`_
- `PR 32588 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/32588>`_
- `PR 33513 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/33513>`_
- `PR 33514 fix for 2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/33514>`_
CVE-2021-3455
-------------
Disconnecting L2CAP channel right after invalid ATT request leads freeze
When Central device connects to peripheral and creates L2CAP
connection for Enhanced ATT, sending some invalid ATT request and
disconnecting immediately causes freeze.
This has been fixed in main for v2.6.0
- `CVE-2021-3455 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3455>`_
- `Zephyr project bug tracker GHSA-7g38-3x9v-v7vp
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7g38-3x9v-v7vp>`_
- `PR 35597 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/35597>`_
- `PR 36104 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/36104>`_
- `PR 36105 fix for 2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/36105>`_
CVE-2021-3510
-------------
Zephyr JSON decoder incorrectly decodes array of array
When using JSON_OBJ_DESCR_ARRAY_ARRAY, the subarray is has the token
type JSON_TOK_LIST_START, but then assigns to the object part of the
union. arr_parse then takes the offset of the array-object (which has
nothing todo with the list) treats it as relative to the parent
object, and stores the length of the subarray in there.
This has been fixed in main for v2.7.0
- `CVE-2021-3510 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3510>`_
- `Zephyr project bug tracker GHSA-289f-7mw3-2qf4
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-289f-7mw3-2qf4>`_
- `PR 36340 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/36340>`_
- `PR 37816 fix for 2.6
<https://github.com/zephyrproject-rtos/zephyr/pull/37816>`_
CVE-2021-3581
-------------
HCI data not properly checked leads to memory overflow in the Bluetooth stack
In the process of setting SCAN_RSP through the HCI command, the Zephyr
Bluetooth protocol stack did not effectively check the length of the
incoming HCI data. Causes memory overflow, and then the data in the
memory is overwritten, and may even cause arbitrary code execution.
This has been fixed in main for v2.6.0
- `CVE-2021-3581 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3581>`_
- `Zephyr project bug tracker GHSA-8q65-5gqf-fmw5
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8q65-5gqf-fmw5>`_
- `PR 35935 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/35935>`_
- `PR 35984 fix for 2.5
<https://github.com/zephyrproject-rtos/zephyr/pull/35984>`_
- `PR 35985 fix for 2.4
<https://github.com/zephyrproject-rtos/zephyr/pull/35985>`_
- `PR 35985 fix for 1.14
<https://github.com/zephyrproject-rtos/zephyr/pull/35985>`_
CVE-2021-3625
-------------
Buffer overflow in Zephyr USB DFU DNLOAD
This has been fixed in main for v2.6.0
- `CVE-2021-3625 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3625>`_
- `Zephyr project bug tracker GHSA-c3gr-hgvr-f363
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3gr-hgvr-f363>`_
- `PR 36694 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/36694>`_
CVE-2021-3835
-------------
Buffer overflow in Zephyr USB device class
This has been fixed in main for v3.0.0
- `CVE-2021-3835 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3835>`_
- `Zephyr project bug tracker GHSA-fm6v-8625-99jf
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_
- `PR 42093 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/42093>`_
- `PR 42167 fix for 2.7
<https://github.com/zephyrproject-rtos/zephyr/pull/42167>`_
CVE-2021-3861
-------------
Buffer overflow in the RNDIS USB device class
This has been fixed in main for v3.0.0
- `CVE-2021-3861 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3861>`_
- `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_
- `PR 39725 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/39725>`_
CVE-2021-3966
-------------
Usb bluetooth device ACL read cb buffer overflow
This has been fixed in main for v3.0.0
- `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_
- `PR 42093 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/42093>`_
- `PR 42167 fix for v2.7.0
<https://github.com/zephyrproject-rtos/zephyr/pull/42167>`_
CVE-2022
========
CVE-2022-0553
-------------
Possible to retrieve unencrypted firmware image
This has been fixed in main for v3.0.0
- `Zephyr project bug tracker GHSA-wrj2-9vj9-rrcp
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wrj2-9vj9-rrcp>`_
- `PR 42424 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/42424>`_
CVE-2022-1041
--------------
Out-of-bound write vulnerability in the Bluetooth Mesh core stack can be triggered during provisioning
This has been fixed in main for v3.1.0
- `Zephyr project bug tracker GHSA-p449-9hv9-pj38
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-p449-9hv9-pj38>`_
- `PR 45136 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/45136>`_
- `PR 45188 fix for v3.0.0
<https://github.com/zephyrproject-rtos/zephyr/pull/45188>`_
- `PR 45187 fix for v2.7.0
<https://github.com/zephyrproject-rtos/zephyr/pull/45187>`_
CVE-2022-1042
--------------
Out-of-bound write vulnerability in the Bluetooth Mesh core stack can be triggered during provisioning
This has been fixed in main for v3.1.0
- `Zephyr project bug tracker GHSA-j7v7-w73r-mm5x
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-j7v7-w73r-mm5x>`_
- `PR 45066 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/45066>`_
- `PR 45135 fix for v3.0.0
<https://github.com/zephyrproject-rtos/zephyr/pull/45135>`_
- `PR 45134 fix for v2.7.0
<https://github.com/zephyrproject-rtos/zephyr/pull/45134>`_
CVE-2022-1841
--------------
Out-of-Bound Write in tcp_flags
This has been fixed in main for v3.1.0
- `Zephyr project bug tracker GHSA-5c3j-p8cr-2pgh
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-5c3j-p8cr-2pgh>`_
- `PR 45796 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/45796>`_
CVE-2022-2741
--------------
can: denial-of-service can be triggered by a crafted CAN frame
This has been fixed in main for v3.2.0
- `Zephyr project bug tracker GHSA-hx5v-j59q-c3j8
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hx5v-j59q-c3j8>`_
- `PR 47903 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/47903>`_
- `PR 47957 fix for v3.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/47957>`_
- `PR 47958 fix for v3.0.0
<https://github.com/zephyrproject-rtos/zephyr/pull/47958>`_
- `PR 47959 fix for v2.7.0
<https://github.com/zephyrproject-rtos/zephyr/pull/47959>`_
CVE-2022-2993
--------------
bt: host: Wrong key validation check
This has been fixed in main for v3.2.0
- `Zephyr project bug tracker GHSA-3286-jgjx-8cvr
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3286-jgjx-8cvr>`_
- `PR 48733 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/48733>`_
CVE-2022-3806
-------------
DoS: Invalid Initialization in le_read_buffer_size_complete()
- `Zephyr project bug tracker GHSA-w525-fm68-ppq3
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-w525-fm68-ppq3>`_
CVE-2023
========
CVE-2023-0396
-------------
Buffer Overreads in Bluetooth HCI
- `Zephyr project bug tracker GHSA-8rpp-6vxq-pqg3
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8rpp-6vxq-pqg3>`_
CVE-2023-0397
-------------
DoS: Invalid Initialization in le_read_buffer_size_complete()
- `Zephyr project bug tracker GHSA-wc2h-h868-q7hj
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wc2h-h868-q7hj>`_
This has been fixed in main for v3.3.0
- `PR 54905 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/54905>`_
- `PR 47957 fix for v3.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/55024>`_
- `PR 47958 fix for v3.1.0
<https://github.com/zephyrproject-rtos/zephyr/pull/55023>`_
- `PR 47959 fix for v2.7.4
<https://github.com/zephyrproject-rtos/zephyr/pull/55022>`_
CVE-2023-0779
-------------
net: shell: Improper input validation
- `Zephyr project bug tracker GHSA-9xj8-6989-r549
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9xj8-6989-r549>`_
This has been fixed in main for v3.3.0
- `PR 54371 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/54371>`_
- `PR 54380 fix for v3.2.0
<https://github.com/zephyrproject-rtos/zephyr/pull/54380>`_
- `PR 54381 fix for v2.7.4
<https://github.com/zephyrproject-rtos/zephyr/pull/54381>`_
CVE-2023-1901
-------------
HCI send_sync Dangling Semaphore Reference Re-use
- `Zephyr project bug tracker GHSA-xvvm-8mcm-9cq3
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xvvm-8mcm-9cq3>`_
This has been fixed in main for v3.4.0
- `PR 56709 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/56709>`_
CVE-2023-1902
-------------
HCI Connection Creation Dangling State Reference Re-use
- `Zephyr project bug tracker GHSA-fx9g-8fr2-q899
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fx9g-8fr2-q899>`_
This has been fixed in main for v3.4.0
- `PR 56709 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/56709>`_
CVE-2023-3725
-------------
Potential buffer overflow vulnerability in the Zephyr CANbus subsystem.
- `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
This has been fixed in main for v3.5.0
- `PR 61502 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/61502>`_
- `PR 61518 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/61518>`_
- `PR 61517 fix for 3.3
<https://github.com/zephyrproject-rtos/zephyr/pull/61517>`_
- `PR 61516 fix for 2.7
<https://github.com/zephyrproject-rtos/zephyr/pull/61516>`_
CVE-2023-4257
-------------
Unchecked user input length in the Zephyr WiFi shell module can cause
buffer overflows.
- `Zephyr project bug tracker GHSA-853q-q69w-gf5j
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
This has been fixed in main for v3.5.0
- `PR 605377 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/605377>`_
- `PR 61383 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/61383>`_
CVE-2023-4258
-------------
bt: mesh: vulnerability in provisioning protocol implementation on provisionee side
- `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
This has been fixed in main for v3.5.0
- `PR 59467 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/59467>`_
- `PR 60078 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/60078>`_
- `PR 60079 fix for 3.3
<https://github.com/zephyrproject-rtos/zephyr/pull/60079>`_
CVE-2023-4259
-------------
Buffer overflow vulnerabilities in the Zephyr eS-WiFi driver
- `Zephyr project bug tracker GHSA-gghm-c696-f4j4
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
This has been fixed in main for v3.5.0
- `PR 63074 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/63074>`_
- `PR 63750 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/63750>`_
CVE-2023-4260
-------------
Off-by-one buffer overflow vulnerability in the Zephyr FS subsystem
- `Zephyr project bug tracker GHSA-gj27-862r-55wh
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
This has been fixed in main for v3.5.0
- `PR 63079 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/63079>`_
CVE-2023-4262
-------------
Potential buffer overflow vulnerabilities in the Zephyr Mgmt subsystem
- `Zephyr project bug tracker GHSA-56p9-5p3v-hhrc
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-56p9-5p3v-hhrc>`_
- This issue has not been fixed.
CVE-2023-4263
-------------
Potential buffer overflow vulnerability in the Zephyr IEEE 802.15.4 nRF 15.4 driver.
- `Zephyr project bug tracker GHSA-rf6q-rhhp-pqhf
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rf6q-rhhp-pqhf>`_
This has been fixed in main for v3.5.0
- `PR 60528 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/60528>`_
- `PR 61384 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/61384>`_
- `PR 61216 fix for 2.7
<https://github.com/zephyrproject-rtos/zephyr/pull/61216>`_
CVE-2023-4264
-------------
Potential buffer overflow vulnerabilities in the Zephyr Bluetooth subsystem
- `Zephyr project bug tracker GHSA-rgx6-3w4j-gf5j
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rgx6-3w4j-gf5j>`_
This has been fixed in main for v3.5.0
- `PR 58834 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/58834>`_
- `PR 60465 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/60465>`_
- `PR 61845 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/61845>`_
- `PR 61385 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/61385>`_
CVE-2023-4265
-------------
Two potential buffer overflow vulnerabilities in Zephyr USB code
- `Zephyr project bug tracker GHSA-4vgv-5r6q-r6xh
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-4vgv-5r6q-r6xh>`_
This has been fixed in main for v3.4.0
- `PR 59157 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/59157>`_
- `PR 59018 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/59018>`_
CVE-2023-4424
-------------
bt: hci: DoS and possible RCE
- `Zephyr project bug tracker GHSA-j4qm-xgpf-qjw3
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-j4qm-xgpf-qjw3>`_
This has been fixed in main for v3.5.0
- `PR 61651 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/61651>`_
- `PR 61696 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/61696>`_
- `PR 61695 fix for 3.3
<https://github.com/zephyrproject-rtos/zephyr/pull/61695>`_
- `PR 61694 fix for 2.7
<https://github.com/zephyrproject-rtos/zephyr/pull/61694>`_
CVE-2023-5055
-------------
L2CAP: Possible Stack based buffer overflow in le_ecred_reconf_req()
- `Zephyr project bug tracker GHSA-wr8r-7f8x-24jj
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wr8r-7f8x-24jj>`_
This has been fixed in main for v3.5.0
- `PR 62381 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/62381>`_
CVE-2023-5139
-------------
Potential buffer overflow vulnerability in the Zephyr STM32 Crypto driver.
- `Zephyr project bug tracker GHSA-rhrc-pcxp-4453
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-rhrc-pcxp-4453>`_
This has been fixed in main for v3.5.0
- `PR 61839 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/61839>`_
CVE-2023-5184
-------------
Potential signed to unsigned conversion errors and buffer overflow
vulnerabilities in the Zephyr IPM driver
- `Zephyr project bug tracker GHSA-8x3p-q3r5-xh9g
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-8x3p-q3r5-xh9g>`_
This has been fixed in main for v3.5.0
- `PR 63069 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/63069>`_
CVE-2023-5563
-------------
The SJA1000 CAN controller driver backend automatically attempts 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.
- `Zephyr project bug tracker GHSA-98mc-rj7w-7rpv
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-98mc-rj7w-7rpv>`_
This has been fixed in main for v3.5.0
- `PR 63713 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/63713>`_
- `PR 63718 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/63718>`_
- `PR 63717 fix for 3.3
<https://github.com/zephyrproject-rtos/zephyr/pull/63717>`_
CVE-2023-5753
-------------
Potential buffer overflow vulnerabilities in the Zephyr Bluetooth
subsystem source code when asserts are disabled.
- `Zephyr project bug tracker GHSA-hmpr-px56-rvww
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hmpr-px56-rvww>`_
This has been fixed in main for v3.5.0
- `PR 63605 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/63605>`_
CVE-2023-5779
-------------
Out of bounds issue in remove_rx_filter in multiple can drivers.
- `Zephyr project bug tracker GHSA-7cmj-963q-jj47
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_
This has been fixed in main for v3.6.0
- `PR 64399 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/64399>`_
- `PR 64416 fix for 3.5
<https://github.com/zephyrproject-rtos/zephyr/pull/64416>`_
- `PR 64415 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/64415>`_
- `PR 64427 fix for 3.3
<https://github.com/zephyrproject-rtos/zephyr/pull/64427>`_
- `PR 64431 fix for 2.7
<https://github.com/zephyrproject-rtos/zephyr/pull/64431>`_
CVE-2023-6249
-------------
Signed to unsigned conversion problem in esp32_ipm_send may lead to buffer overflow
- `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_
This has been fixed in main for v3.6.0
- `PR 65546 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/65546>`_
CVE-2023-6749
-------------
Potential buffer overflow due unchecked data coming from user input in settings shell.
- `Zephyr project bug tracker GHSA-757h-rw37-66hw
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_
This has been fixed in main for v3.6.0
- `PR 66451 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/66451>`_
- `PR 66584 fix for 3.5
<https://github.com/zephyrproject-rtos/zephyr/pull/66584>`_
CVE-2023-6881
-------------
Potential buffer overflow vulnerability in Zephyr fuse file system.
- `Zephyr project bug tracker GHSA-mh67-4h3q-p437
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-mh67-4h3q-p437>`_
This has been fixed in main for v3.6.0
- `PR 66592 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/66592>`_
CVE-2023-7060
-------------
Missing Security Control in Zephyr OS IP Packet Handling
- `Zephyr project bug tracker GHSA-fjc8-223c-qgqr
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fjc8-223c-qgqr>`_
This has been fixed in main for v3.6.0
- `PR 66645 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/66645>`_
- `PR 66739 fix for 3.5
<https://github.com/zephyrproject-rtos/zephyr/pull/66739>`_
- `PR 66738 fix for 3.4
<https://github.com/zephyrproject-rtos/zephyr/pull/66738>`_
- `PR 66887 fix for 2.7
<https://github.com/zephyrproject-rtos/zephyr/pull/66887>`_
CVE-2024
========
CVE-2024-1638
-------------
Bluetooth characteristic LESC security requirement not enforced without additional flags
- `Zephyr project bug tracker GHSA-p6f3-f63q-5mc2
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-p6f3-f63q-5mc2>`_
This has been fixed in main for v3.6.0
- `PR 69170 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/69170>`_
CVE-2024-3077
-------------
Bluetooth: Integer underflow in gatt_find_info_rsp. A malicious BLE
device can crash BLE victim device by sending malformed gatt packet.
- `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gmfv-4vfh-2mh8>`_
This has been fixed in main for v3.7.0
- `PR 69396 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/69396>`_
CVE-2024-3332
-------------
Bluetooth: DoS caused by null pointer dereference.
A malicious BLE device can send a specific order of packet
sequence to cause a DoS attack on the victim BLE device.
- `Zephyr project bug tracker GHSA-jmr9-xw2v-5vf4
<https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jmr9-xw2v-5vf4>`_
This has been fixed in main for v3.7.0
- `PR 71030 fix for main
<https://github.com/zephyrproject-rtos/zephyr/pull/71030>`_
CVE-2024-4785
-------------
Under embargo until 2024-08-07
CVE-2024-5754
-------------
Under embargo until 2024-09-04
CVE-2024-5931
-------------
Under embargo until 2024-09-10
CVE-2024-6135
-------------
Under embargo until 2024-09-11
CVE-2024-6137
-------------
Under embargo until 2024-09-11
CVE-2024-6258
-------------
Under embargo until 2024-09-05
CVE-2024-6259
-------------
Under embargo until 2024-09-12
CVE-2024-6442
-------------
Under embargo until 2024-09-22
CVE-2024-6443
-------------
Under embargo until 2024-09-22
CVE-2024-6444
-------------
Under embargo until 2024-09-22
Part 3
한국어 전문 번역
이 페이지는 각 Zephyr release에서 발견되고 수정된 모든 vulnerability를 모읍니다. Release note보다 자세한 정보가 포함되는 경우가 많습니다. 민감한 vulnerability는 수정할 충분한 시간이 생길 때까지 공개하지 않을 수 있습니다. Release note는 특정 version에 고정되지만 이 페이지는 embargo가 해제된 뒤에도 정보를 갱신할 수 있습니다.
CVE-2017
CVE-2017-14199
getaddrinfo()에서 발생하는 buffer overflow입니다.
CVE-2017-14201
Shell DNS command가 stack variable을 잘못 사용해 예측할 수 없는 결과를 만들 수 있습니다.
Zephyr shell의 use-after-free 취약점으로, serial 또는 telnet으로 연결한 사용자가 서비스 거부를 일으키고 원격 코드를 실행할 가능성도 있습니다.
v1.14.0 release에서 수정되었습니다.
CVE-2017-14202
Shell 구현이 buffer overrun을 막지 않아 동작을 예측할 수 없게 됩니다.
Zephyr shell component에서 memory buffer 범위 안의 operation을 부적절하게 제한한 취약점입니다. Serial 또는 telnet으로 연결한 사용자가 crash를 일으킬 수 있고 임의 코드를 실행할 가능성도 있습니다.
v1.14.0 release에서 수정되었습니다.
CVE-2019
CVE-2019-9506
Bluetooth BR/EDR specification 5.1까지는 매우 짧은 encryption key length를 허용하며 attacker가 key length negotiation에 영향을 주는 것을 막지 않습니다. 이 때문에 피해자가 알아차리지 못한 채 traffic을 decrypt하고 임의 ciphertext를 inject할 수 있는 실용적인 brute-force attack, 즉 KNOB 공격이 가능합니다.
CVE-2020
CVE-2020-10019
Zephyr USB DFU의 buffer overflow로, USB에 연결된 host가 원격 코드 실행을 일으킬 수 있습니다.
v1.14.2, v2.1.1, v2.2.0 release에서 수정되었습니다.
CVE-2020-10021
정렬되지 않은 크기를 처리하는 USB Mass Storage memoryWrite handler에서 out-of-bounds write가 발생합니다.
NCC-ZEP-024, NCC-ZEP-025, NCC-ZEP-026을 참고합니다.
v1.14.2와 v2.2.0 release에서 수정되었습니다.
- CVE-2020-10021
- Zephyr 프로젝트 보안 추적 ZEPSEC-26
- PR23455 수정 대상 v1.14.2
- PR23456 수정 대상 the v2.1 branch
- PR23240 수정 대상 v2.2.0
CVE-2020-10022
UpdateHub module이 가변 길이 hash string을 고정 크기 array에 복사합니다.
UpdateHub server에서 받은 malformed JSON payload가 Zephyr OS의 memory corruption을 유발할 수 있습니다. 최선의 경우 서비스 거부, 최악의 경우 코드 실행으로 이어집니다.
NCC-ZEP-016을 참고합니다. Main, v2.1.0 branch, v2.2.0 branch용 pull request에서 수정되었습니다.
- CVE-2020-10022
- Zephyr 프로젝트 보안 추적 ZEPSEC-28
- PR24154 수정 대상 main
- PR24065 수정 대상 branch from v2.1.0
- PR24066 수정 대상 branch from v2.2.0
CVE-2020-10023
Shell subsystem의 shell_spaces_trim에 buffer overflow가 있습니다.
Device에 물리적으로 접근할 수 있는 공격자가 memory corruption을 일으켜 서비스 거부나 Zephyr kernel 안의 코드 실행으로 이어지게 할 수 있습니다.
NCC-ZEP-019를 참고합니다. v1.14.2, v2.2.0과 v2.1.0 기반 branch에서 수정되었습니다.
- CVE-2020-10023
- Zephyr 프로젝트 보안 추적 ZEPSEC-29
- PR23646 수정 대상 v1.14.2
- PR23649 수정 대상 branch from v2.1.0
- PR23304 수정 대상 v2.2.0
CVE-2020-10024
ARM platform code가 system call number를 검증할 때 signed integer comparison을 사용합니다.
User thread 안에서 코드 실행 권한을 얻은 공격자가 kernel privilege로 권한을 높일 수 있습니다.
NCC-ZEP-001을 참고합니다. v1.14.2, v2.2.0과 v2.1.0 기반 branch에서 수정되었습니다.
- CVE-2020-10024
- Zephyr 프로젝트 보안 추적 ZEPSEC-30
- PR23535 수정 대상 v1.14.2
- PR23498 수정 대상 branch from v2.1.0
- PR23323 수정 대상 v2.2.0
CVE-2020-10027
ARC platform이 system call number를 검증할 때 signed integer comparison을 사용합니다.
User thread 안에서 코드 실행 권한을 얻은 공격자가 kernel privilege로 권한을 높일 수 있습니다.
NCC-ZEP-001을 참고합니다. v1.14.2, v2.2.0과 v2.1.0 기반 branch에서 수정되었습니다.
- CVE-2020-10027
- Zephyr 프로젝트 보안 추적 ZEPSEC-35
- PR23500 수정 대상 v1.14.2
- PR23499 수정 대상 branch from v2.1.0
- PR23328 수정 대상 v2.2.0
CVE-2020-10028
GPIO subsystem의 여러 syscall이 argument validation을 수행하지 않거나 충분히 수행하지 않습니다.
NCC-ZEP-006을 참고합니다. v1.14.2, v2.2.0과 v2.1.0 기반 branch에서 수정되었습니다.
- CVE-2020-10028
- Zephyr 프로젝트 보안 추적 ZEPSEC-32
- PR23733 수정 대상 v1.14.2
- PR23737 수정 대상 branch from v2.1.0
- PR23308 수정 대상 v2.2.0 (gpio patch)
CVE-2020-10058
Kscan subsystem의 여러 syscall이 argument를 충분히 검증하지 않아 userspace에서 실행되는 코드가 높은 privilege를 얻을 수 있습니다.
NCC-ZEP-006을 참고합니다. v2.1.0 기반 branch와 v2.2.0 release에서 수정되었습니다.
- CVE-2020-10058
- Zephyr 프로젝트 보안 추적 ZEPSEC-34
- PR23748 수정 대상 branch from v2.1.0
- PR23308 수정 대상 v2.2.0 (kscan patch)
CVE-2020-10059
UpdateHub module이 DTLS peer checking을 disable해 man-in-the-middle attack을 허용합니다. Firmware image에 valid signature가 필요하므로 영향이 완화되지만, peer checking 없는 DTLS에는 이점이 없습니다.
NCC-ZEP-018을 참고합니다. Zephyr main과 관련 release branch에서 수정되었습니다.
- CVE-2020-10059
- Zephyr 프로젝트 보안 추적 ZEPSEC-36
- PR24954 main 수정 (to be fixed in v2.3.0)
- PR24954 fix v2.1.0
- PR24954 fix v2.2.0
CVE-2020-10060
updatehub_probe에서 JSON parsing 직후 output structure의 objects[1]을 두 곳에서 접근합니다. JSON element가 두 개보다 적으면 초기화되지 않은 stack memory를 참조해 crash, 서비스 거부 또는 information leak을 일으킬 수 있습니다.
수정본을 사용할 수 있을 때까지 UpdateHub를 disable하는 것이 권장됩니다.
NCC-ZEP-030을 참고합니다. Zephyr main과 v2.1.0, v2.2.0, v2.3.0 branch에서 수정되었습니다.
- CVE-2020-10060
- Zephyr 프로젝트 보안 추적 ZEPSEC-37
- PR27865 main 수정 (to be fixed in v2.4.0)
- PR27865 수정 대상 v2.3.0
- PR27865 수정 대상 v2.2.0
- PR27865 수정 대상 v2.1.0
CVE-2020-10061
잘못된 packet sequence의 error handling 문제입니다. Zephyr Bluetooth 구현이 buffer가 가득 찬 경우를 부적절하게 처리해 memory corruption을 일으킬 수 있습니다.
v1.14.0과 v2.2.0 branch에서 수정되었고 v2.3.0에 포함되었습니다.
- CVE-2020-10061
- Zephyr 프로젝트 보안 추적 ZEPSEC-75
- PR23516 수정 대상 v2.3 (split driver)
- PR23517 수정 대상 v2.3 (legacy driver)
- PR23091 수정 대상 branch from v1.14.0
- PR23547 수정 대상 branch from v2.2.0
CVE-2020-10062
MQTT packet length decoder의 off-by-one error가 memory corruption과 원격 코드 실행을 일으킬 수 있습니다. NCC-ZEP-031에 해당합니다.
MQTT packet header length는 1~4 byte이지만 이 오류로 5 byte로 해석될 수 있습니다. 그 결과 integer overflow와 memory corruption이 발생합니다.
v2.3용 main에서 수정되었습니다.
CVE-2020-10063
CoAP option parsing 중 integer overflow 때문에 원격 서비스 거부가 발생합니다. 임의 CoAP packet을 Zephyr parser에 보낼 수 있는 원격 공격자가 서비스를 중단시킬 수 있습니다.
v2.3용 main과 이전 release branch에서 수정되었습니다. NCC-ZEP-032를 참고합니다.
- CVE-2020-10063
- Zephyr 프로젝트 보안 추적 ZEPSEC-55
- PR24435 main 수정 for v2.3
- PR24531 수정 대상 branch from v2.2
- PR24535 수정 대상 branch from v2.1
- PR24530 수정 대상 branch from v1.14
- NCC-ZEP 보고서 (NCC-ZEP-032)
CVE-2020-10064
IEEE 802.15.4 처리 과정에서 input frame을 적절히 검증하지 않는 문제입니다.
CVE-2020-10065
Bluetooth HCI-over-SPI driver가 사용자가 제공한 길이(최대 0xffff)를 검증하지 않고 기본 77-byte 고정 buffer로 HCI ACL packet을 복사해 out-of-bounds write가 발생합니다.
원문 기준으로 이 문제는 수정되지 않았습니다.
- CVE-2020-10065
- Zephyr 프로젝트 보안 추적 ZEPSEC-66
- 이 문제는 수정되지 않았습니다.
CVE-2020-10066
Bluetooth HCI core의 잘못된 error handling 문제입니다. hci_cmd_done에 null buf argument가 전달되면 null pointer dereference가 발생합니다.
CVE-2020-10067
is_in_region의 integer overflow로 user thread가 kernel memory에 접근할 수 있습니다.
악성 userspace application이 integer overflow를 일으켜 system call handler의 security check를 우회할 수 있습니다. 영향은 syscall에 따라 서비스 거부, information leak, memory corruption과 kernel code execution까지 다양합니다.
NCC-ZEP-005를 참고합니다. v1.14.2와 v2.2.0에서 수정되었습니다.
- CVE-2020-10067
- Zephyr 프로젝트 보안 추적 ZEPSEC-27
- PR23653 수정 대상 v1.14.2
- PR23654 수정 대상 the v2.1 branch
- PR23239 수정 대상 v2.2.0
CVE-2020-10068
Zephyr Bluetooth DLE에서 특정 duplicate packet과 back-to-back packet이 잘못된 동작을 일으켜 서비스 거부로 이어집니다.
v1.14.0과 v2.2.0 branch에서 수정되었고 v2.3.0에 포함되었습니다.
- CVE-2020-10068
- Zephyr 프로젝트 보안 추적 ZEPSEC-78
- PR23707 수정 대상 v2.3 (split driver)
- PR23708 수정 대상 v2.3 (legacy driver)
- PR23091 수정 대상 branch from v1.14.0
- PR23964 수정 대상 v2.2.0
CVE-2020-10069
Bluetooth data의 검증되지 않은 parameter가 assertion failure 또는 division by zero를 일으켜 서비스 거부 공격으로 이어질 수 있습니다.
v1.14.0과 v2.2.0 branch에서 수정되었고 v2.3.0에 포함되었습니다.
- CVE-2020-10069
- Zephyr 프로젝트 보안 추적 ZEPSEC-81
- PR23705 수정 대상 v2.3 (split driver)
- PR23706 수정 대상 v2.3 (legacy driver)
- PR23091 수정 대상 branch from v1.14.0
- PR23963 수정 대상 branch from v2.2.0
CVE-2020-10070
Zephyr MQTT code의 잘못된 bounds checking이 memory corruption과 원격 코드 실행을 일으킬 수 있습니다. NCC-ZEP-031에 해당합니다.
Packet length 계산의 arithmetic overflow 때문에 실제 buffer 공간보다 큰 receive buffer가 허용되고, user data가 buffer 밖에 기록됩니다.
v2.3용 main에서 수정되었습니다.
CVE-2020-10071
Zephyr MQTT parser가 publish message의 length field를 충분히 확인하지 않아 buffer overflow와 원격 코드 실행 가능성이 생깁니다. NCC-ZEP-031에 해당합니다.
v2.3용 main에서 수정되었습니다.
CVE-2020-10072
Network socket API file descriptor에 permission 관리가 없습니다. System의 어떤 thread든 file descriptor 숫자만 알면 해당 socket을 읽고 쓸 수 있습니다.
CVE-2020-10136
IP-in-IP protocol이 기본적으로 임의 traffic을 route하는 문제입니다.
CVE-2020-13598
FAT_FS에서 long file name을 enable한 뒤 12자보다 긴 filename에 fs_stat을 호출하면 buffer overflow가 발생합니다.
CVE-2020-13599
Settings와 littlefs를 함께 사용하면 MCUmgr를 통해 device의 security 정보를 모두 추출할 수 있습니다. 예를 들어 Bluetooth Mesh의 device key, network key와 application key가 노출될 수 있습니다.
CVE-2020-13600
eS-WiFi가 malformed SPI response를 받으면 kernel memory가 손상될 수 있습니다.
CVE-2020-13601
DNS read 과정에서 out-of-bounds read가 발생할 수 있습니다.
CVE-2020-13602
Zephyr LwM2M의 do_write_op_tlv가 malformed input 때문에 infinite loop에 빠져 원격 서비스 거부 공격으로 이어질 수 있습니다.
CVE-2020-13603
Memory pool allocation의 integer wrap-around가 heap overflow로 이어질 수 있습니다.
Zephyr의 미리 제공된 malloc wrapper는 sys_mem_pool_alloc을 호출합니다. 이 함수는 size + WB_UP(sizeof(struct sys_mem_pool_block))를 안전하지 않게 계산합니다.
매우 큰 size는 내부 integer wrap-around를 일으켜 매우 작은 memory allocation을 성공시킵니다. 예를 들어 malloc(0xffffffff)가 7 byte allocation에 성공하고 이후 heap overflow로 이어집니다.
CVE-2021
CVE-2021-3319
IEEE 802.15.4 frame validation의 ieee802154_validate_frame가 생략된 source·destination address를 잘못 처리해 서비스 거부를 일으킵니다.
v2.5.0용 main에서 수정되었습니다.
CVE-2021-3320
IEEE 802.15.4 ACK frame의 validation과 실제 처리 사이에 불일치가 있습니다. Validation에서는 ACK를 고려하지만 처리에서는 고려하지 않아 type confusion이 발생합니다.
CVE-2021-3321
IEEE 802.15.4 fragment의 최소 크기를 완전하게 확인하지 않아 integer underflow가 발생합니다.
CVE-2021-3323
6LoWPAN IPHC header 압축 해제 과정의 integer underflow입니다.
v2.5.0용 main에서 수정되었습니다.
CVE-2021-3430
LL_CONNECTION_PARAM_REQ를 반복하면 assertion에 도달할 수 있습니다.
v2.6.0용 main과 이전 release branch에서 수정되었습니다.
- CVE-2021-3430
- Zephyr 프로젝트 보안 추적 GHSA-46h3-hjcq-2jjr
- PR 33272 수정 대상 main
- PR 33369 수정 대상 2.5
- PR 33759 수정 대상 1.14.2
CVE-2021-3431
Bluetooth에서 LL_FEATURE_REQ를 반복하면 assertion failure가 발생합니다.
v2.6.0용 main과 v2.5 branch에서 수정되었습니다.
CVE-2021-3432
CONNECT_IND의 invalid interval이 division by zero를 일으킵니다.
v2.6.0용 main과 v2.5 branch에서 수정되었습니다.
CVE-2021-3433
Bluetooth CONNECT_IND의 invalid channel map이 deadlock을 일으킵니다.
v2.6.0용 main과 v2.5 branch에서 수정되었습니다.
CVE-2021-3434
L2CAP le_ecred_conn_req()의 stack-based buffer overflow입니다.
v2.6.0용 main과 이전 release branch에서 수정되었습니다.
- CVE-2021-3434
- Zephyr 프로젝트 보안 추적 GHSA-8w87-6rfp-cfrm
- PR 33305 수정 대상 main
- PR 33419 수정 대상 2.5
- PR 33418 수정 대상 1.14.2
CVE-2021-3435
L2CAP le_ecred_conn_req()에서 information leakage가 발생합니다.
v2.6.0용 main과 이전 release branch에서 수정되었습니다.
- CVE-2021-3435
- Zephyr 프로젝트 보안 추적 GHSA-xhg3-gvj6-4rqh
- PR 33305 수정 대상 main
- PR 33419 수정 대상 2.5
- PR 33418 수정 대상 1.14.2
CVE-2021-3436
Bluetooth key distribution 단계에서 bond의 identity address를 알고 있으면 기존 bond를 덮어쓸 수 있습니다.
Identity address information을 배포할 때 같은 identity address의 기존 bond를 확인하지 않습니다. RAM에는 duplicate entry가 생기고 persistent storage에서는 새 entry가 기존 entry를 덮어씁니다.
v2.6.0용 main과 이전 release branch에서 수정되었습니다.
- CVE-2021-3436
- Zephyr 프로젝트 보안 추적 GHSA-j76f-35mc-4h63
- PR 33266 수정 대상 main
- PR 33432 수정 대상 2.5
- PR 33433 수정 대상 2.4
- PR 33718 수정 대상 1.14.2
CVE-2021-3454
잘린 L2CAP K-frame이 assertion failure를 일으킵니다. 예를 들어 SDU length field가 1 byte로 잘린 K-frame을 보내면 이전 Zephyr release가 assertion failure를 일으킵니다.
Main의 commit 0ba9437로 수정되었으며 작성 당시에는 일부 오래된 release branch에 backport되지 않았습니다. v2.6.0용 main에서 수정되었습니다.
- CVE-2021-3454
- Zephyr 프로젝트 보안 추적 GHSA-fx88-6c29-vrp3
- PR 32588 수정 대상 main
- PR 33513 수정 대상 2.5
- PR 33514 수정 대상 2.4
CVE-2021-3455
Invalid ATT request 직후 L2CAP channel을 disconnect하면 system이 멈춥니다.
Central이 peripheral에 연결해 Enhanced ATT용 L2CAP connection을 만든 뒤 invalid ATT request를 보내고 즉시 disconnect하면 freeze가 발생합니다.
v2.6.0용 main과 이전 release branch에서 수정되었습니다.
- CVE-2021-3455
- Zephyr 프로젝트 보안 추적 GHSA-7g38-3x9v-v7vp
- PR 35597 수정 대상 main
- PR 36104 수정 대상 2.5
- PR 36105 수정 대상 2.4
CVE-2021-3510
Zephyr JSON decoder가 array 안의 array를 잘못 decode합니다.
JSON_OBJ_DESCR_ARRAY_ARRAY 사용 시 subarray token type은 JSON_TOK_LIST_START이지만 union의 object 부분에 할당됩니다. arr_parse가 list와 무관한 array-object offset을 parent object 기준으로 취급해 그 위치에 subarray length를 저장합니다.
v2.7.0용 main과 v2.6 branch에서 수정되었습니다.
CVE-2021-3581
HCI data를 올바르게 검사하지 않아 Bluetooth stack에서 memory overflow가 발생합니다.
HCI command로 SCAN_RSP를 설정할 때 incoming HCI data length를 효과적으로 확인하지 않아 memory를 덮어쓰며 임의 코드 실행으로 이어질 수도 있습니다.
v2.6.0용 main과 이전 release branch에서 수정되었습니다.
- CVE-2021-3581
- Zephyr 프로젝트 보안 추적 GHSA-8q65-5gqf-fmw5
- PR 35935 수정 대상 main
- PR 35984 수정 대상 2.5
- PR 35985 수정 대상 2.4
- PR 35985 수정 대상 1.14
CVE-2021-3625
Zephyr USB DFU DNLOAD의 buffer overflow입니다.
v2.6.0용 main에서 수정되었습니다.
CVE-2021-3835
Zephyr USB device class의 buffer overflow입니다.
v3.0.0용 main과 v2.7 branch에서 수정되었습니다.
CVE-2021-3861
RNDIS USB device class의 buffer overflow입니다.
v3.0.0용 main에서 수정되었습니다.
CVE-2021-3966
USB Bluetooth device의 ACL read callback에서 buffer overflow가 발생합니다.
v3.0.0용 main과 v2.7 branch에서 수정되었습니다.
CVE-2022
CVE-2022-0553
암호화되지 않은 firmware image를 가져갈 수 있습니다.
v3.0.0용 main에서 수정되었습니다.
CVE-2022-1041
Bluetooth Mesh core stack에서 provisioning 중 유발할 수 있는 out-of-bounds write 취약점입니다.
v3.1.0용 main과 v3.0.0, v2.7.0 branch에서 수정되었습니다.
CVE-2022-1042
Bluetooth Mesh core stack에서 provisioning 중 유발할 수 있는 별도의 out-of-bounds write 취약점입니다.
v3.1.0용 main과 v3.0.0, v2.7.0 branch에서 수정되었습니다.
CVE-2022-1841
tcp_flags에서 발생하는 out-of-bounds write입니다.
v3.1.0용 main에서 수정되었습니다.
CVE-2022-2741
조작된 CAN frame으로 서비스 거부를 일으킬 수 있습니다.
v3.2.0용 main과 v3.1.0, v3.0.0, v2.7.0 branch에서 수정되었습니다.
- Zephyr 프로젝트 보안 추적 GHSA-hx5v-j59q-c3j8
- PR 47903 수정 대상 main
- PR 47957 수정 대상 v3.1.0
- PR 47958 수정 대상 v3.0.0
- PR 47959 수정 대상 v2.7.0
CVE-2022-2993
Bluetooth host가 key validation을 잘못 수행합니다.
v3.2.0용 main에서 수정되었습니다.
CVE-2022-3806
le_read_buffer_size_complete()의 invalid initialization으로 서비스 거부가 발생합니다.
CVE-2023
CVE-2023-0396
Bluetooth HCI에서 buffer overread가 발생합니다.
CVE-2023-0397
le_read_buffer_size_complete()의 invalid initialization으로 서비스 거부가 발생합니다.
v3.3.0용 main과 v3.2.0, v3.1.0, v2.7.4 branch에서 수정되었습니다.
- Zephyr 프로젝트 보안 추적 GHSA-wc2h-h868-q7hj
- PR 54905 수정 대상 main
- PR 47957 수정 대상 v3.2.0
- PR 47958 수정 대상 v3.1.0
- PR 47959 수정 대상 v2.7.4
CVE-2023-0779
Network shell이 user input을 적절히 검증하지 않습니다.
v3.3.0용 main과 v3.2.0, v2.7.4 branch에서 수정되었습니다.
CVE-2023-1901
HCI send_sync가 이미 수명이 끝난 semaphore reference를 다시 사용하는 문제입니다.
v3.4.0용 main에서 수정되었습니다.
CVE-2023-1902
HCI connection 생성 과정에서 이미 수명이 끝난 state reference를 다시 사용하는 문제입니다.
v3.4.0용 main에서 수정되었습니다.
CVE-2023-3725
Zephyr CAN bus subsystem의 잠재적 buffer overflow입니다.
v3.5.0용 main과 v3.4, v3.3, v2.7 branch에서 수정되었습니다.
- Zephyr 프로젝트 보안 추적 GHSA-2g3m-p6c7-8rr3
- PR 61502 수정 대상 main
- PR 61518 수정 대상 3.4
- PR 61517 수정 대상 3.3
- PR 61516 수정 대상 2.7
CVE-2023-4257
Zephyr Wi-Fi shell module이 user input length를 확인하지 않아 buffer overflow가 발생할 수 있습니다.
v3.5.0용 main과 v3.4 branch에서 수정되었습니다.
CVE-2023-4258
Bluetooth Mesh provisioning protocol 구현의 provisionee 측 취약점입니다.
v3.5.0용 main과 v3.4, v3.3 branch에서 수정되었습니다.
CVE-2023-4259
Zephyr eS-WiFi driver의 buffer overflow 취약점입니다.
v3.5.0용 main에서 여러 수정이 적용되었습니다.
CVE-2023-4260
Zephyr file-system subsystem의 off-by-one buffer overflow입니다.
v3.5.0용 main에서 수정되었습니다.
CVE-2023-4262
Zephyr management subsystem의 잠재적 buffer overflow입니다.
원문 기준으로 이 문제는 수정되지 않았습니다.
- Zephyr 프로젝트 보안 추적 GHSA-56p9-5p3v-hhrc
- 이 문제는 수정되지 않았습니다.
CVE-2023-4263
Zephyr IEEE 802.15.4 nRF 15.4 driver의 잠재적 buffer overflow입니다.
v3.5.0용 main과 v3.4, v2.7 branch에서 수정되었습니다.
CVE-2023-4264
Zephyr Bluetooth subsystem의 잠재적 buffer overflow 취약점입니다.
v3.5.0용 main과 v3.4 branch에 여러 수정이 적용되었습니다.
- Zephyr 프로젝트 보안 추적 GHSA-rgx6-3w4j-gf5j
- PR 58834 수정 대상 main
- PR 60465 수정 대상 main
- PR 61845 수정 대상 main
- PR 61385 수정 대상 3.4
CVE-2023-4265
Zephyr USB code에 잠재적 buffer overflow 두 건이 있습니다.
v3.4.0용 main에서 수정되었습니다.
CVE-2023-4424
Bluetooth HCI에서 서비스 거부와 원격 코드 실행 가능성이 생기는 취약점입니다.
v3.5.0용 main과 v3.4, v3.3, v2.7 branch에서 수정되었습니다.
- Zephyr 프로젝트 보안 추적 GHSA-j4qm-xgpf-qjw3
- PR 61651 수정 대상 main
- PR 61696 수정 대상 3.4
- PR 61695 수정 대상 3.3
- PR 61694 수정 대상 2.7
CVE-2023-5055
L2CAP le_ecred_reconf_req()의 잠재적 stack-based buffer overflow입니다.
v3.5.0용 main에서 수정되었습니다.
CVE-2023-5139
Zephyr STM32 Crypto driver의 잠재적 buffer overflow입니다.
v3.5.0용 main에서 수정되었습니다.
CVE-2023-5184
Zephyr IPM driver의 signed-to-unsigned conversion error와 buffer overflow 가능성입니다.
v3.5.0용 main에서 수정되었습니다.
CVE-2023-5563
CONFIG_CAN_AUTO_BUS_OFF_RECOVERY=y로 build한 SJA1000 CAN controller driver backend가 bus-off event에서 자동 복구를 시도합니다. 그 과정에서 IRQ context 안에서 k_sleep()을 호출해 fatal exception이 발생합니다.
v3.5.0용 main과 v3.4, v3.3 branch에서 수정되었습니다.
CVE-2023-5753
Assert를 disable했을 때 Zephyr Bluetooth subsystem source code에서 잠재적 buffer overflow가 발생합니다.
v3.5.0용 main에서 수정되었습니다.
CVE-2023-5779
여러 CAN driver의 remove_rx_filter에서 out-of-bounds access가 발생합니다.
v3.6.0용 main과 v3.5, v3.4, v3.3, v2.7 branch에서 수정되었습니다.
- Zephyr 프로젝트 보안 추적 GHSA-7cmj-963q-jj47
- PR 64399 수정 대상 main
- PR 64416 수정 대상 3.5
- PR 64415 수정 대상 3.4
- PR 64427 수정 대상 3.3
- PR 64431 수정 대상 2.7
CVE-2023-6249
esp32_ipm_send의 signed-to-unsigned conversion 문제가 buffer overflow로 이어질 수 있습니다.
v3.6.0용 main에서 수정되었습니다.
CVE-2023-6749
Settings shell이 user input data를 확인하지 않아 잠재적 buffer overflow가 발생합니다.
v3.6.0용 main과 v3.5 branch에서 수정되었습니다.
CVE-2023-6881
Zephyr FUSE file system의 잠재적 buffer overflow입니다.
v3.6.0용 main에서 수정되었습니다.
CVE-2023-7060
Zephyr OS IP packet 처리에 필요한 security control이 빠진 문제입니다.
v3.6.0용 main과 v3.5, v3.4, v2.7 branch에서 수정되었습니다.
- Zephyr 프로젝트 보안 추적 GHSA-fjc8-223c-qgqr
- PR 66645 수정 대상 main
- PR 66739 수정 대상 3.5
- PR 66738 수정 대상 3.4
- PR 66887 수정 대상 2.7
CVE-2024
CVE-2024-1638
추가 flag가 없을 때 Bluetooth characteristic의 LESC security requirement를 강제하지 않는 문제입니다.
v3.6.0용 main에서 수정되었습니다.
CVE-2024-3077
Bluetooth gatt_find_info_rsp의 integer underflow입니다. 악성 BLE device가 malformed GATT packet을 보내 피해 BLE device를 crash시킬 수 있습니다.
v3.7.0용 main에서 수정되었습니다.
CVE-2024-3332
Bluetooth null pointer dereference가 서비스 거부를 일으킵니다.
악성 BLE device가 특정 순서의 packet sequence를 보내 피해 BLE device에 서비스 거부 공격을 일으킬 수 있습니다.
v3.7.0용 main에서 수정되었습니다.
CVE-2024-4785
2024-08-07까지 공개 유예 중입니다.
CVE-2024-5754
2024-09-04까지 공개 유예 중입니다.
CVE-2024-5931
2024-09-10까지 공개 유예 중입니다.
CVE-2024-6135
2024-09-11까지 공개 유예 중입니다.
CVE-2024-6137
2024-09-11까지 공개 유예 중입니다.
CVE-2024-6258
2024-09-05까지 공개 유예 중입니다.
CVE-2024-6259
2024-09-12까지 공개 유예 중입니다.
CVE-2024-6442
2024-09-22까지 공개 유예 중입니다.
CVE-2024-6443
2024-09-22까지 공개 유예 중입니다.
CVE-2024-6444
2024-09-22까지 공개 유예 중입니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.