{"id":"CVE-2021-22547","published":"2021-05-04T13:05:17Z","modified":"2024-08-03T18:44:13Z","title":"Buffer overrun in Google Cloud IoT Device SDK for Embedded C","vendor":"Google","product":"Google Cloud IoT Device SDK for Embedded C","tier":"tail","description":{"text":"In IoT Devices SDK, there is an implementation of calloc() that doesn't have a length check. An attacker could pass in memory objects larger than the buffer and wrap around to have a smaller buffer than required, allowing the attacker access to the other parts of the heap. We recommend upgrading the Google Cloud IoT Device SDK for Embedded C used to 1.0.3 or greater.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00217,"percentile":0.07013,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/RELEASE-NOTES.md","tags":["x_refsource_MISC"]},{"url":"https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/pull/119","tags":["x_refsource_MISC"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":1.4},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Google Cloud IoT Device SDK for Embedded C","versions":[">= unspecified, <= 1.0.2"]}],"euvd":{"id":"EUVD-2021-9688","exploited":false,"provenance":"source"}}