CVE-2021-22547
CVSS V2 Medium 4.6
CVSS V3 High 7.8
Description
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.
Overview
- CVE ID
- CVE-2021-22547
- Assigner
- cve-coordination@google.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-05-04T13:15:07
- Last Modified Date
- 2021-05-07T22:18:22
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:google:cloud_iot_device_sdk_for_embedded_c:*:*:*:*:*:*:*:* | 1 | OR | 1.0.3 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 4.6
- Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/blob/master/RELEASE-NOTES.md | Release Notes Third Party Advisory |
https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/pull/119 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-22547 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22547 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:16:40 | Added to TrackCVE | |||
2022-12-05 01:26:56 | security@google.com | cve-coordination@google.com | CVE Assigner | updated |
2022-12-05 01:26:56 | 2021-05-04T13:15Z | 2021-05-04T13:15:07 | CVE Published Date | updated |
2022-12-05 01:26:56 | 2021-05-07T22:18:22 | CVE Modified Date | updated | |
2022-12-05 01:26:56 | Analyzed | Vulnerability Status | updated |