RSA Algorithm Exploit in ExAws.KMS Module from ExAWS
CVE-2026-62271
What is CVE-2026-62271?
The ExAws.KMS module in the ExAWS library has a vulnerability that defaults to using the outdated PKCS#1 v1.5 padding scheme for RSA encryption. This affects how secret key material is securely wrapped during the import operation. The implementation allows users who import external key material to inadvertently utilize weaker encryption, making them susceptible to potential padding oracle attacks. While AWS KMS itself mitigates the risk of practical exploits, developers are encouraged to override this default by selecting stronger padding schemes such as RSAES_OAEP_SHA_1 or RSAES_OAEP_SHA_256 to enhance security. It is essential to update to versions 2.7.0 or higher to immediately address this vulnerability.
Affected Version(s)
ex_aws_kms 2.1.0 < 2.7.0
ex_aws_kms b66631f206ec207ab7016c0c4d9f1ec898b56e85 < 2d7f308da3cf75ab0385c0aebdc84ce65f6754f7
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
