1. Accueil
  2. Vulnérabilités
  3. CVE-2026-63584

CVE-2026-63584

Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key

Publiée le 24 nov. 2026 · modifiée le 1 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 13/100

Résumé

Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ex-aws ex_aws_s3 allows HTTP header injection via an attacker-controlled copy-source key. ExAws.S3.upload_part_copy/8 in lib/ex_aws/s3.ex builds the x-amz-copy-source request header by interpolating the source bucket and object key directly into "/#{src_bucket}/#{src_object}" with no percent-encoding. The sibling function put_object_copy percent-encodes the bucket and each path segment before assembling the same header, but upload_part_copy skips encoding entirely. When the source key is derived from untrusted input, reserved characters (spaces, ?, &, =) pass through verbatim and corrupt the copy-source reference, so the copy targets the wrong object or fails. A key containing \r or \n can split or inject additional headers into the outgoing HTTP request, depending on how the configured HTTP backend serializes headers. Applications that pass a source bucket or object key derived from untrusted input to ExAws.S3.upload_part_copy/8 are affected. Applications that only ever pass trusted, well-formed keys are not affected. This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

ex-aws (1 ligne(s))
ex-aws
ProduitVersionsCorrigé dansSource
ex_aws_s3 de 2.0.0 (inclus) à 2.6.0 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Percent-encode or otherwise sanitize the source bucket and object key before passing them to ExAws.S3.upload_part_copy/8. At minimum, reject (or strip) any value containing \r, \n, or the reserved URI characters that alter the copy-source reference. Encode each path segment with URI.encode(segment, &URI.char_unreserved?/1), mirroring how put_object_copy builds the same header.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N (CVSS 4.0, CNA:EEF)
Faiblesse
CWE-93 · Autre (CWE-93)

Comment sont obtenues et calculées ces données