Skip to main content

Contiki Ng CVE-2023-30546

HIGH
Out-of-bounds Read (CWE-125)
2023-04-26 security-advisories@github.com
7.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
CVE Published
Apr 26, 2023 - 19:15 nvd
HIGH 7.5

DescriptionNVD

Contiki-NG is an operating system for Internet of Things devices. An off-by-one error can be triggered in the Antelope database management system in the Contiki-NG operating system in versions 4.8 and prior. The problem exists in the Contiki File System (CFS) backend for the storage of data (file os/storage/antelope/storage-cfs.c). In the functions storage_get_index and storage_put_index, a buffer for merging two strings is allocated with one byte less than the maximum size of the merged strings, causing subsequent function calls to the cfs_open function to read from memory beyond the buffer size. The vulnerability has been patched in the "develop" branch of Contiki-NG, and is expected to be included in the next release. As a workaround, the problem can be fixed by applying the patch in Contiki-NG pull request #2425.

AnalysisAI

Contiki-NG is an operating system for Internet of Things devices. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Read vulnerability could allow attackers to read data from memory outside the intended buffer boundaries.

Technical ContextAI

This vulnerability is classified as Out-of-bounds Read (CWE-125), which allows attackers to read data from memory outside the intended buffer boundaries. Contiki-NG is an operating system for Internet of Things devices. An off-by-one error can be triggered in the Antelope database management system in the Contiki-NG operating system in versions 4.8 and prior. The problem exists in the Contiki File System (CFS) backend for the storage of data (file os/storage/antelope/storage-cfs.c). In the functions storage_get_index and storage_put_index, a buffer for merging two strings is allocated with one byte less than the maximum size of the merged strings, causing subsequent function calls to the cfs_open function to read from memory beyond the buffer size. The vulnerability has been patched in the "develop" branch of Contiki-NG, and is expected to be included in the next release. As a workaround, the problem can be fixed by applying the patch in Contiki-NG pull request #2425. Affected products include: Contiki-Ng.

RemediationAI

A vendor patch is available. Apply the latest security update as soon as possible. Validate array indices and buffer lengths. Use memory-safe languages. Enable AddressSanitizer during testing.

CVE-2018-19417 CRITICAL POC
10.0 Nov 21

An issue was discovered in the MQTT server in Contiki-NG before 4.2. Rated critical severity (CVSS 10.0), this vulnerabi

CVE-2021-21280 CRITICAL POC
9.8 Jun 18

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C

CVE-2020-14935 CRITICAL POC
9.8 Aug 18

Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP bulk get request response encoding function.

CVE-2020-14934 CRITICAL POC
9.8 Aug 18

Buffer overflows were discovered in Contiki-NG 4.4 through 4.5, in the SNMP agent. Rated critical severity (CVSS 9.8), t

CVE-2018-1000804 CRITICAL POC
9.8 Oct 08

contiki-ng version 4 contains a Buffer Overflow vulnerability in AQL (Antelope Query Language) database engine that can

CVE-2020-14937 CRITICAL POC
9.1 Aug 18

Memory access out of buffer boundaries issues was discovered in Contiki-NG 4.4 through 4.5, in the SNMP BER encoder/deco

CVE-2023-31129 CRITICAL
9.8 May 08

The Contiki-NG operating system versions 4.8 and prior can be triggered to dereference a NULL pointer in the message han

CVE-2023-28116 CRITICAL
9.8 Mar 17

Contiki-NG is an open-source, cross-platform operating system for internet of things (IoT) devices. Rated critical sever

CVE-2022-35927 CRITICAL
9.8 Aug 04

Contiki-NG is an open-source, cross-platform operating system for IoT devices. Rated critical severity (CVSS 9.8), this

CVE-2021-21281 CRITICAL
9.8 Jun 18

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C

CVE-2021-21282 CRITICAL
9.8 Jun 18

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. Rated critical severity (C

CVE-2020-24336 CRITICAL
9.8 Dec 11

An issue was discovered in Contiki through 3.0 and Contiki-NG through 4.5. Rated critical severity (CVSS 9.8), this vuln

Share

CVE-2023-30546 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy