CVE-2021-40829 (GCVE-0-2021-40829)
Vulnerability from cvelistv5
Published
2021-11-22 23:41
Modified
2024-08-04 02:51
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- Connections initialized by the AWS IoT Device SDK v2 for Java, Python, C++ and Node.js did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on Windows.
Summary
Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.4.2), Python (versions prior to 1.6.1), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.3) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on MacOS. This issue has been addressed in aws-c-io submodule versions 0.10.5 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.4.2 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.6.1 on macOS. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on macOS. Amazon Web Services AWS-C-IO 0.10.4 on macOS.
References
Impacted products
Vendor | Product | Version | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
► | Amazon Web Services | AWS IoT Device SDK v2 for Java |
Version: unspecified < 1.4.2 |
|||||||||||||||||||||
|
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-04T02:51:06.986Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/awslabs/aws-c-io/" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/aws/aws-iot-device-sdk-cpp-v2" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/aws/aws-iot-device-sdk-python-v2" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/aws/aws-iot-device-sdk-java-v2" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/aws/aws-iot-device-sdk-js-v2" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "platforms": [ "macOS" ], "product": "AWS IoT Device SDK v2 for Java ", "vendor": "Amazon Web Services", "versions": [ { "lessThan": "1.4.2", "status": "affected", "version": "unspecified", "versionType": "custom" } ] }, { "platforms": [ "macOS" ], "product": "AWS IoT Device SDK v2 for Python", "vendor": "Amazon Web Services", "versions": [ { "lessThan": "1.6.1", "status": "affected", "version": "unspecified", "versionType": "custom" } ] }, { "platforms": [ "macOS" ], "product": "AWS IoT Device SDK v2 for C++", "vendor": "Amazon Web Services", "versions": [ { "lessThan": "1.12.7", "status": "affected", "version": "unspecified", "versionType": "custom" } ] }, { "platforms": [ "macOS" ], "product": "AWS IoT Device SDK v2 for Node.js", "vendor": "Amazon Web Services", "versions": [ { "lessThan": "1.5.3", "status": "affected", "version": "unspecified", "versionType": "custom" } ] }, { "platforms": [ "macOS" ], "product": "AWS-C-IO", "vendor": "Amazon Web Services", "versions": [ { "lessThan": "0.10.4", "status": "affected", "version": "unspecified", "versionType": "custom" } ] } ], "credits": [ { "lang": "en", "value": "F-Secure" } ], "descriptions": [ { "lang": "en", "value": "Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.4.2), Python (versions prior to 1.6.1), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.3) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on MacOS. This issue has been addressed in aws-c-io submodule versions 0.10.5 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.4.2 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.6.1 on macOS. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on macOS. Amazon Web Services AWS-C-IO 0.10.4 on macOS." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "HIGH", "attackVector": "ADJACENT_NETWORK", "availabilityImpact": "HIGH", "baseScore": 6.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "description": "Connections initialized by the AWS IoT Device SDK v2 for Java, Python, C++ and Node.js did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on Windows. ", "lang": "en", "type": "text" } ] } ], "providerMetadata": { "dateUpdated": "2021-11-22T23:41:17", "orgId": "126858f1-1b65-4b74-81ca-7034f7f7723f", "shortName": "F-SecureUS" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/awslabs/aws-c-io/" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/aws/aws-iot-device-sdk-cpp-v2" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/aws/aws-iot-device-sdk-python-v2" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/aws/aws-iot-device-sdk-java-v2" }, { "tags": [ "x_refsource_MISC" ], "url": "https://github.com/aws/aws-iot-device-sdk-js-v2" } ], "solutions": [ { "lang": "en", "value": "Update to the latest versions of the AWS IoT Device SDK." } ], "source": { "discovery": "INTERNAL" }, "title": "TLS hostname validation issues within AWS IoT Device SDKs on macOS", "x_generator": { "engine": "Vulnogram 0.0.9" }, "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "cve-notifications-us@f-secure.com", "ID": "CVE-2021-40829", "STATE": "PUBLIC", "TITLE": "TLS hostname validation issues within AWS IoT Device SDKs on macOS" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "AWS IoT Device SDK v2 for Java ", "version": { "version_data": [ { "platform": "macOS", "version_affected": "\u003c", "version_value": "1.4.2" } ] } }, { "product_name": "AWS IoT Device SDK v2 for Python", "version": { "version_data": [ { "platform": "macOS", "version_affected": "\u003c", "version_value": "1.6.1" } ] } }, { "product_name": "AWS IoT Device SDK v2 for C++", "version": { "version_data": [ { "platform": "macOS", "version_affected": "\u003c", "version_value": "1.12.7" } ] } }, { "product_name": "AWS IoT Device SDK v2 for Node.js", "version": { "version_data": [ { "platform": "macOS", "version_affected": "\u003c", "version_value": "1.5.3" } ] } }, { "product_name": "AWS-C-IO", "version": { "version_data": [ { "platform": "macOS", "version_affected": "\u003c", "version_value": "0.10.4" } ] } } ] }, "vendor_name": "Amazon Web Services" } ] } }, "credit": [ { "lang": "eng", "value": "F-Secure" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.4.2), Python (versions prior to 1.6.1), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.3) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on MacOS. This issue has been addressed in aws-c-io submodule versions 0.10.5 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.4.2 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.6.1 on macOS. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on macOS. Amazon Web Services AWS-C-IO 0.10.4 on macOS." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "ADJACENT_NETWORK", "availabilityImpact": "HIGH", "baseScore": 6.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Connections initialized by the AWS IoT Device SDK v2 for Java, Python, C++ and Node.js did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on Windows. " } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/awslabs/aws-c-io/", "refsource": "MISC", "url": "https://github.com/awslabs/aws-c-io/" }, { "name": "https://github.com/aws/aws-iot-device-sdk-cpp-v2", "refsource": "MISC", "url": "https://github.com/aws/aws-iot-device-sdk-cpp-v2" }, { "name": "https://github.com/aws/aws-iot-device-sdk-python-v2", "refsource": "MISC", "url": "https://github.com/aws/aws-iot-device-sdk-python-v2" }, { "name": "https://github.com/aws/aws-iot-device-sdk-java-v2", "refsource": "MISC", "url": "https://github.com/aws/aws-iot-device-sdk-java-v2" }, { "name": "https://github.com/aws/aws-iot-device-sdk-js-v2", "refsource": "MISC", "url": "https://github.com/aws/aws-iot-device-sdk-js-v2" } ] }, "solution": [ { "lang": "en", "value": "Update to the latest versions of the AWS IoT Device SDK." } ], "source": { "discovery": "INTERNAL" } } } }, "cveMetadata": { "assignerOrgId": "126858f1-1b65-4b74-81ca-7034f7f7723f", "assignerShortName": "F-SecureUS", "cveId": "CVE-2021-40829", "datePublished": "2021-11-22T23:41:17", "dateReserved": "2021-09-09T00:00:00", "dateUpdated": "2024-08-04T02:51:06.986Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2021-40829\",\"sourceIdentifier\":\"cve-notifications-us@f-secure.com\",\"published\":\"2021-11-23T00:15:07.327\",\"lastModified\":\"2024-11-21T06:24:51.940\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Connections initialized by the AWS IoT Device SDK v2 for Java (versions prior to 1.4.2), Python (versions prior to 1.6.1), C++ (versions prior to 1.12.7) and Node.js (versions prior to 1.5.3) did not verify server certificate hostname during TLS handshake when overriding Certificate Authorities (CA) in their trust stores on MacOS. This issue has been addressed in aws-c-io submodule versions 0.10.5 onward. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.4.2 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.6.1 on macOS. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on macOS. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on macOS. Amazon Web Services AWS-C-IO 0.10.4 on macOS.\"},{\"lang\":\"es\",\"value\":\"Las conexiones inicializadas por AWS IoT Device SDK v2 para Java (versiones anteriores a 1.4.2), Python (versiones anteriores a 1.6.1), C++ (versiones anteriores a 1.12.7) y Node.js (versiones anteriores a 1.5.3) no verificaban el nombre de host del certificado del servidor durante el handshake TLS cuando anulaban las Autoridades de Certificaci\u00f3n (CA) en sus almacenes confiable en MacOS. Este problema se ha abordado en las versiones 0.10.5 y posteriores del subm\u00f3dulo aws-c-io. Este problema afecta a: Amazon Web Services AWS IoT Device SDK v2 para versiones de Java anteriores a 1.4.2 en macOS. Amazon Web Services AWS IoT Device SDK v2 para versiones de Python anteriores a 1.6.1 en macOS. Amazon Web Services AWS IoT Device SDK v2 para versiones de C++ anteriores a 1.12.7 en macOS. Amazon Web Services AWS IoT Device SDK v2 para versiones de Node.js anteriores a 1.5.3 en macOS. Amazon Web Services AWS-C-IO 0.10.4 en macOS\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"cve-notifications-us@f-secure.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H\",\"baseScore\":6.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":0.4,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:A/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":5.8,\"accessVector\":\"ADJACENT_NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":6.5,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-295\"}]}],\"configurations\":[{\"operator\":\"AND\",\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:*\",\"versionEndExcluding\":\"1.4.2\",\"matchCriteriaId\":\"C4330813-F508-4821-A923-42ECCB418994\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:node.js:*:*\",\"versionEndExcluding\":\"1.5.3\",\"matchCriteriaId\":\"C0C29498-FB25-4CC3-8E35-A38820C71D09\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:python:*:*\",\"versionEndExcluding\":\"1.6.1\",\"matchCriteriaId\":\"2402BC58-3F9B-480E-BE69-E8CCBBE59EB7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:c\\\\+\\\\+:*:*\",\"versionEndExcluding\":\"1.12.7\",\"matchCriteriaId\":\"EFFC524B-6023-44B2-A60A-76DBCE3BF4A8\"}]},{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":false,\"criteria\":\"cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"387021A0-AF36-463C-A605-32EA7DAC172E\"}]}]}],\"references\":[{\"url\":\"https://github.com/aws/aws-iot-device-sdk-cpp-v2\",\"source\":\"cve-notifications-us@f-secure.com\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/aws/aws-iot-device-sdk-java-v2\",\"source\":\"cve-notifications-us@f-secure.com\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/aws/aws-iot-device-sdk-js-v2\",\"source\":\"cve-notifications-us@f-secure.com\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/aws/aws-iot-device-sdk-python-v2\",\"source\":\"cve-notifications-us@f-secure.com\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/awslabs/aws-c-io/\",\"source\":\"cve-notifications-us@f-secure.com\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/aws/aws-iot-device-sdk-cpp-v2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/aws/aws-iot-device-sdk-java-v2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/aws/aws-iot-device-sdk-js-v2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/aws/aws-iot-device-sdk-python-v2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/awslabs/aws-c-io/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\"]}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…