{"id":"CVE-2023-30546","sourceIdentifier":"security-advisories@github.com","published":"2023-04-26T19:15:09.070","lastModified":"2026-06-17T05:54:59.657","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"<= 4.8","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-01-30T21:31:24.927916Z","id":"CVE-2023-30546","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-125"},{"lang":"en","value":"CWE-193"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:contiki-ng:contiki-ng:*:*:*:*:*:*:*:*","versionEndIncluding":"4.8","matchCriteriaId":"729B4607-C6BD-42DE-91BF-918A57D29A77"}]}]}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/pull/2425","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-257g-w39m-5jj4","source":"security-advisories@github.com","tags":["Vendor Advisory"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/2425","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-257g-w39m-5jj4","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}