Bernard Duggan

#3516de 61,219
85.3CVSS total
Vulnerabilidades · 16
Baixa
4
Média
8
Alta
4
PT-2026-158393
2026-11-24
7.4
CVE-2026-59698
Ex Aws
Ex Aws
Relative path traversal in ex aws allows an attacker who controls an S3 object key to escape the intended bucket or key prefix. When ex aws builds a path-style S3 request, ExAws.Operation.S3.add bucket to path/2 in lib/ex aws/operation/s3.ex joins the bucket name and the object key into a single path string and then normalizes it, collapsing . and .. segments the way a filesystem path would. Because the bucket is the first segment of the combined string, a leading ../ in the object key pops the bucket off the path. With bucket mybucket and a key of ../victim/secret.txt, the combined /mybucket/../victim/secret.txt normalizes to /victim/secret.txt, so the request (signed with the application's own credentials) is sent to bucket victim. The same mechanism collapses ../ within a key, defeating any isolation an application enforces by prepending a trusted prefix. Only the default path-style configuration is affected; requests built with virtual host: true do not run this normalization. Because S3 treats object keys as opaque and does not resolve .. itself, the client-side normalization introduces a traversal that would not otherwise exist. Any application that derives an S3 object key from untrusted input and relies on the bucket, or a key prefix, as a tenant or trust boundary is exposed to cross-bucket or cross-prefix read and write, depending on the operation and the credentials' permissions. This issue affects ex aws: from 2.1.7 before 2.8.0.
PT-2026-158399
2026-11-24
2.1
CVE-2026-62271
Ex Aws
Ex Aws Kms
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.
PT-2026-158401
2026-11-24
6.9
CVE-2026-63581
Ex Aws
Ex Aws S3
XML Injection vulnerability in ex-aws ex aws s3 (ExAws.S3 module) allows an attacker to inject arbitrary XML configuration elements into S3 bucket-configuration request bodies via unescaped, caller-supplied values. This vulnerability is associated with program files lib/ex aws/s3.ex and program routines ExAws.S3.put bucket logging/2, ExAws.S3.put bucket notification/2, ExAws.S3.put bucket replication/2, ExAws.S3.put bucket website/2. The bucket-configuration body builders construct their XML by interpolating caller-supplied values directly into the request body without escaping, and never route them through the module's own escape xml string/1 helper. A value containing XML metacharacters (<, >, &, quotes) can close the intended element early and open attacker-chosen elements, which the builder's trailing closing tag then closes, keeping the document single-rooted and well-formed. In a multi-tenant application where tenants configure their own bucket settings, an attacker who can influence one of the interpolated field values (for example the logging target, a notification ARN, a replication destination or Account, or a website redirect HostName) can inject arbitrary configuration nodes into a request the application signs and sends to AWS. The affected builders are reached through the public functions put bucket logging/2, put bucket notification/2, put bucket replication/2, and put bucket website/2. This issue affects ex aws s3: from 2.5.9 before 2.6.0.