Incorrect Calculation of Buffer Size Affecting aws-kms-tls-auth package, versions <0.0.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-RUST-AWSKMSTLSAUTH-15440514
  • published8 Mar 2026
  • disclosed3 Mar 2026
  • creditJoshua Rogers

Introduced: 3 Mar 2026

New CVE NOT AVAILABLE CWE-131  (opens in a new tab)

How to fix?

Upgrade aws-kms-tls-auth to version 0.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Calculation of Buffer Size via incorrect interpretation of the length prefix in the PSK extension field during TLS 1.3 handshakes. An attacker can exhaust server resources and cause service disruption by sending repeated specially crafted messages that trigger excessive memory allocation.

CVSS Base Scores

version 4.0
version 3.1