René Helmke 7791f18b51 bootstrap
2023-05-16 16:09:41 +02:00

193 lines
8.8 KiB
JSON

{
"id": "CVE-2021-40830",
"sourceIdentifier": "cve-notifications-us@f-secure.com",
"published": "2021-11-23T00:15:07.380",
"lastModified": "2021-12-02T14:51:00.123",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "The AWS IoT Device SDK v2 for Java, Python, C++ and Node.js appends a user supplied Certificate Authority (CA) to the root CAs instead of overriding it on Unix systems. TLS handshakes will thus succeed if the peer can be verified either from the user-supplied CA or the system\u2019s default trust-store. Attackers with access to a host\u2019s trust stores or are able to compromise a certificate authority already in the host's trust store (note: the attacker must also be able to spoof DNS in this case) may be able to use this issue to bypass CA pinning. An attacker could then spoof the MQTT broker, and either drop traffic and/or respond with the attacker's data, but they would not be able to forward this data on to the MQTT broker because the attacker would still need the user's private keys to authenticate against the MQTT broker. The 'aws_tls_ctx_options_override_default_trust_store_*' function within the aws-c-io submodule has been updated to override the default trust store. This corrects this issue. This issue affects: Amazon Web Services AWS IoT Device SDK v2 for Java versions prior to 1.5.0 on Linux/Unix. Amazon Web Services AWS IoT Device SDK v2 for Python versions prior to 1.6.1 on Linux/Unix. Amazon Web Services AWS IoT Device SDK v2 for C++ versions prior to 1.12.7 on Linux/Unix. Amazon Web Services AWS IoT Device SDK v2 for Node.js versions prior to 1.5.3 on Linux/Unix. Amazon Web Services AWS-C-IO 0.10.4 on Linux/Unix."
},
{
"lang": "es",
"value": "El SDK de dispositivos de IoT de AWS v2 para Java, Python, C++ y Node.js a\u00f1ade una autoridad de certificaci\u00f3n (CA) suministrada por el usuario a las CA root en lugar de anularla en los sistemas Unix. Los handshakes TLS tendr\u00e1n as\u00ed \u00e9xito si el par puede ser verificado desde la CA suministrada por el usuario o desde el almac\u00e9n confiable por defecto del sistema. Los atacantes con acceso a los almacenes confiable de un host o que puedan comprometer una autoridad de certificaci\u00f3n que ya est\u00e9 en el almac\u00e9n confiable del host (nota: el atacante tambi\u00e9n debe ser capaz de falsificar el DNS en este caso) pueden ser capaces de usar este problema para omitir el pinning de la CA. Un atacante podr\u00eda entonces falsificar el broker MQTT, y dejar caer el tr\u00e1fico y/o responder con los datos del atacante, pero no ser\u00eda capaz de reenviar estos datos al broker MQTT porque el atacante todav\u00eda necesitar\u00eda las claves privadas del usuario para autenticarse contra el broker MQTT. La funci\u00f3n \"aws_tls_ctx_options_override_default_trust_store_*\" dentro del subm\u00f3dulo aws-c-io ha sido actualizada para anular el almac\u00e9n confiable por defecto. Esto corrige este problema. Este problema afecta a: Amazon Web Services AWS IoT Device SDK v2 para versiones de Java anteriores a 1.5.0 en Linux/Unix. Amazon Web Services AWS IoT Device SDK v2 para versiones de Python anteriores a 1.6.1 en Linux/Unix. Amazon Web Services AWS IoT Device SDK v2 para versiones de C++ anteriores a 1.12.7 en Linux/Unix. Amazon Web Services AWS IoT Device SDK v2 para versiones de Node.js anteriores a 1.5.3 en Linux/Unix. Amazon Web Services AWS-C-IO 0.10.4 en Linux/Unix"
}
],
"metrics": {
"cvssMetricV31": [
{
"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",
"attackVector": "ADJACENT_NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9
},
{
"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",
"attackVector": "ADJACENT_NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "HIGH",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 6.3,
"baseSeverity": "MEDIUM"
},
"exploitabilityScore": 0.4,
"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",
"accessVector": "ADJACENT_NETWORK",
"accessComplexity": "LOW",
"authentication": "NONE",
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"availabilityImpact": "PARTIAL",
"baseScore": 5.8
},
"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_aws-c-io:0.10.4:*:*:*:*:*:*:*",
"matchCriteriaId": "9AAE5C9C-092B-4236-BCF3-07290A51079E"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:amazon:amazon_web_services_internet_of_things_device_software_development_kit_v2:*:*:*:*:*:java:*:*",
"versionEndExcluding": "1.5.0",
"matchCriteriaId": "53F4E856-F06F-4974-8EA4-8CCA9AE7BA04"
},
{
"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:linux:linux_kernel:-:*:*:*:*:*:*:*",
"matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1"
},
{
"vulnerable": false,
"criteria": "cpe:2.3:o:opengroup:unix:-:*:*:*:*:*:*:*",
"matchCriteriaId": "6A90CB3A-9BE7-475C-9E75-6ECAD2106302"
}
]
}
]
}
],
"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"
]
}
]
}