Improper Certificate Validation Affecting software.amazon.awssdk.crt:aws-crt package, versions [,0.14.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-SOFTWAREAMAZONAWSSDKCRT-1924998
  • published23 Nov 2021
  • disclosed23 Nov 2021
  • creditUnknown

Introduced: 23 Nov 2021

CVE-2021-40830  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade software.amazon.awssdk.crt:aws-crt to version 0.14.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation. TLS handshakes are succeeding if the peer can be verified either from the user-supplied CA or the system’s default trust-store. Attackers with access to a host’s 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.

CVSS Scores

version 3.1