{"id":"CVE-2022-36053","state":"PUBLISHED","title":"Out-of-bounds read in the uIP buffer module","description":"Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The low-power IPv6 network stack of Contiki-NG has a buffer module (os/net/ipv6/uipbuf.c) that processes IPv6 extension headers in incoming data packets. As part of this processing, the function uipbuf_get_next_header casts a pointer to a uip_ext_hdr structure into the packet buffer at different offsets where extension headers are expected to be found, and then reads from this structure. Because of a lack of bounds checking, the casting can be done so that the structure extends beyond the packet's end. Hence, with a carefully crafted packet, it is possible to cause the Contiki-NG system to read data outside the packet buffer. A patch that fixes the vulnerability is included in Contiki-NG 4.8.","publishedAt":"2022-09-01T12:00:15.000Z","updatedAt":"2025-04-23T17:33:06.634Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["contiki-ng contiki-ng"],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"< 4.8","status":"affected"}]}],"references":["https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw","https://github.com/contiki-ng/contiki-ng/pull/1648"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:50:21.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/36xxx/CVE-2022-36053.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-36053","state":"PUBLISHED","datePublished":"2022-09-01T12:00:15.000Z","dateUpdated":"2025-04-23T17:33:06.634Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-07-15T00:00:00.000Z"},"containers":{"cna":{"title":"Out-of-bounds read in the uIP buffer module","descriptions":[{"lang":"en","value":"Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The low-power IPv6 network stack of Contiki-NG has a buffer module (os/net/ipv6/uipbuf.c) that processes IPv6 extension headers in incoming data packets. As part of this processing, the function uipbuf_get_next_header casts a pointer to a uip_ext_hdr structure into the packet buffer at different offsets where extension headers are expected to be found, and then reads from this structure. Because of a lack of bounds checking, the casting can be done so that the structure extends beyond the packet's end. Hence, with a carefully crafted packet, it is possible to cause the Contiki-NG system to read data outside the packet buffer. A patch that fixes the vulnerability is included in Contiki-NG 4.8."}],"affected":[{"vendor":"contiki-ng","product":"contiki-ng","versions":[{"version":"< 4.8","status":"affected"}]}],"references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1648","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-09-01T12:00:14.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-2j9c-7754-w4cw","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-36053","STATE":"PUBLIC","TITLE":"Out-of-bounds read in the uIP buffer module"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"contiki-ng","version":{"version_data":[{"version_value":"< 4.8"}]}}]},"vendor_name":"contiki-ng"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. The low-power IPv6 network stack of Contiki-NG has a buffer module (os/net/ipv6/uipbuf.c) that processes IPv6 extension headers in incoming data packets. As part of this processing, the function uipbuf_get_next_header casts a pointer to a uip_ext_hdr structure into the packet buffer at different offsets where extension headers are expected to be found, and then reads from this structure. Because of a lack of bounds checking, the casting can be done so that the structure extends beyond the packet's end. Hence, with a carefully crafted packet, it is possible to cause the Contiki-NG system to read data outside the packet buffer. A patch that fixes the vulnerability is included in Contiki-NG 4.8."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125: Out-of-bounds Read"}]}]},"references":{"reference_data":[{"name":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw","refsource":"CONFIRM","url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw"},{"name":"https://github.com/contiki-ng/contiki-ng/pull/1648","refsource":"MISC","url":"https://github.com/contiki-ng/contiki-ng/pull/1648"}]},"source":{"advisory":"GHSA-2j9c-7754-w4cw","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-2j9c-7754-w4cw","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/contiki-ng/contiki-ng/pull/1648","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:52:00.496Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T14:01:44.291899Z","id":"CVE-2022-36053","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T17:33:06.634Z"}}]}}}