Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIntercept wrapped key material in transit
-
ExploitQuery a PKCS#1 v1.5 padding oracle
-
ImpactRecover wrapped secret key plaintext (no oracle exists in AWS KMS path, so chain is not realizable in practice)
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Applies only to callers that use ExAws.KMS.get_parameters_for_import/3 to import external key material (BYOK) AND do not explicitly pass a wrapping_algorithm, thereby accepting the insecure default 'RSAES_PKCS1_V1_5' instead of 'RSAES_OAEP_SHA_256' or 'RSAES_OAEP_SHA_1'. Even then, plaintext recovery via Bleichenbacher requires both interception of the wrapped ciphertext and access to a PKCS#1 v1.5 padding oracle - and the AWS KMS unwrap path, which performs the decryption, does not expose such an oracle. Limiting factors: scope is restricted to the key-import feature (not general KMS operations); callers who explicitly select an OAEP algorithm are unaffected; and no oracle exists to drive the attack, making this defense-in-depth only. |
| Impact | This is a low-priority, defense-in-depth cryptographic hygiene issue, not an actionable exploitable vulnerability. The CVSS 4.0 base score is 2.1 (vendor-assigned vector CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N), and the vuln.today Decision label is 'monitor' - all signals agree on low urgency. There is no CISA KEV listing, no EPSS probability supplied, and no public exploit identified at time of analysis. Critically, the description itself states practical exploitability is low: the only theoretical attack (Bleichenbacher adaptive chosen-ciphertext against PKCS#1 v1.5 padding) requires a padding oracle, and the RSA unwrap happens inside AWS KMS, which does not expose one. The AT:P (attack requirements present) and AC:H metrics reflect that a padding oracle - which does not exist in the AWS KMS path - would be prerequisite. Signals are consistent rather than conflicting; the weakness is a weak-by-default library setting (CWE-780, RSA without OAEP) rather than a directly triggerable flaw. EPSS is absent, but given no PoC and no oracle, real-world exploitation risk is effectively negligible. Treat as a code-quality/compliance fix, not an emergency. |
| Exploit ScenarioDerived | An application using ex_aws_kms to import external key material (BYOK) calls ExAws.KMS.get_parameters_for_import/3 without overriding the wrapping algorithm, so its secret key material is RSA-wrapped with PKCS#1 v1.5 padding before being sent to AWS KMS ImportKeyMaterial. For any plaintext recovery, an attacker would need to both intercept the wrapped ciphertext and query a padding oracle that reveals valid-vs-invalid padding - but the AWS KMS unwrap endpoint does not expose such an oracle, so no practical attack is realized. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
ExAws KMS versions 2.1.0 before 2.7.0 default the wrapping algorithm used by ExAws.KMS.get_parameters_for_import/3 to RSAES_PKCS1_V1_5, steering callers who import external key material toward PKCS#1 v1.5 RSA padding instead of OAEP. The practical risk is low and defense-in-depth: AWS KMS performs the unwrap and does not expose the padding oracle a Bleichenbacher attack would need, and only BYOK import callers that fail to override the default are in scope. No public exploit was identified at time of analysis; the vendor has released a patch.
RemediationAI
Upgrade ex_aws_kms to 2.7.0 or later; the vendor advisory and upstream commits identify the fix (https://github.com/ex-aws/ex_aws_kms/security/advisories/GHSA-wq7g-9pm7-5crv, https://github.com/ex-aws/ex_aws_kms/commit/2d7f308da3cf75ab0385c0aebdc84ce65f6754f7). If an immediate upgrade is not possible, callers using ExAws.KMS.get_parameters_for_import/3 should explicitly pass wrapping_algorithm: RSAES_OAEP_SHA_256 (preferred) or RSAES_OAEP_SHA_1 instead of relying on the RSAES_PKCS1_V1_5 default. Because the weak default only affects the BYOK key-import flow, no broader KMS configuration change is required by this issue.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-780 (use of RSA without OAEP) in the Elixir ex_aws_kms library's AWS KMS wrapper. ExAws.KMS.get_parameters_for_import/3 in lib/ex_aws/kms.ex builds the parameters for AWS KMS ImportKeyMaterial and defaults wrapping_algorithm to RSAES_PKCS1_V1_5; AWS KMS also supports the stronger RSAES_OAEP_SHA_1 and RSAES_OAEP_SHA_256 schemes. PKCS#1 v1.5 encryption padding is historically susceptible to Bleichenbacher adaptive chosen-ciphertext attacks when an attacker can query a padding-validity oracle, but here the unwrap is performed inside AWS KMS, which does not expose such an oracle, so exploitation is not demonstrated and the issue is a cryptographic-hygiene default rather than a directly exploitable path. The trigger is limited to callers that use the BYOK import flow and do not explicitly select an OAEP algorithm; general KMS operations are out of scope.
Know when Ex Aws gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
AC:H because recovery needs an interception plus a padding oracle that AWS KMS does not provide; C:L reflects only theoretical key-material disclosure; no integrity or availability impact.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Use of RSA Algorithm without OAEP vulnerability in ex-aws ex_aws_kms (ExAws.KMS module) causes callers who import external key material to wrap their secret KMS key material with the deprecated PKCS#1 v1.5 padding scheme by default.
This vulnerability is associated with program file lib/ex_aws/kms.ex and program routine ExAws.KMS.get_parameters_for_import/3.
ExAws.KMS.get_parameters_for_import/3 defaults its wrapping_algorithm argument to "RSAES_PKCS1_V1_5". AWS KMS returns this value as the WrappingAlgorithm for the import operation, and it dictates the RSA padding scheme the caller uses to wrap (RSA-encrypt) their secret key material before calling ImportKeyMaterial. AWS KMS also supports the stronger RSAES_OAEP_SHA_1 and RSAES_OAEP_SHA_256 schemes. By defaulting to RSAES_PKCS1_V1_5, the library steers callers who do not explicitly override the argument toward the weakest of the three. PKCS#1 v1.5 encryption padding is susceptible to Bleichenbacher adaptive chosen-ciphertext (padding oracle) attacks, which can recover the wrapped plaintext without the private key given an oracle that reveals whether a decrypted value was validly padded. Because the unwrap happens inside AWS KMS, which does not expose a padding oracle, the practical exploitability is low and this is a defense-in-depth weakness. Callers can avoid the weak default by explicitly passing "RSAES_OAEP_SHA_256" (or "RSAES_OAEP_SHA_1") as the wrapping algorithm.
This issue affects ex_aws_kms: from 2.1.0 before 2.7.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
ExAws, the Elixir AWS SDK, requests its IMDSv2 session token from the link-local metadata endpoint with redirect followi
Relative path traversal in the ex_aws Elixir S3 client (versions 2.1.7 up to, but not including, 2.8.0) allows an attack
XML injection in the ex_aws_s3 Elixir library (2.3.0 through 2.5.x) lets an attacker who controls any value that an appl
XML injection in ex_aws_s3 2.5.9 before 2.6.0 lets an attacker who can influence values passed to the bucket-configurati
Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injecte
Path injection in the ex_aws_ses Elixir library (2.3.0 through 2.4.x) lets attacker-influenced contact-list names steer
Server-side request forgery in the ex_aws Elixir AWS client can redirect signed S3 requests to an attacker-chosen host w
Type confusion in ex_aws_dynamo's ExAws.Dynamo.Encoder.encode/2 allows attacker-influenced map data to dictate the raw D
Presigned URL and presigned POST generation in the Elixir library ex_aws_s3 (2.0.0 through 2.5.x) can be redirected to a
S3 request tampering in the Elixir ex_aws library (2.1.2 up to but not including 2.8.0) allows attackers who control par
ACL grantee injection in the Elixir library ex_aws_s3 (2.0.0 up to but not including 2.6.0) allows an attacker who contr
HTTP header injection in ex_aws_s3 2.0.0 through 2.5.x lets an application that places attacker-influenced data into S3
EUVD-2026-133888
GHSA-cgv4-6337-qcvw
NVD
CVE.org
EPSS
Exploit-DB