{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-63584",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-07-17T04:14:44.351Z",
        "datePublished": "2026-11-24T14:15:10.351Z",
        "dateUpdated": "2026-12-01T16:50:11.235Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.ExAws.S3'"
                    ],
                    "packageName": "ex_aws_s3",
                    "packageURL": "pkg:hex/ex_aws_s3",
                    "product": "ex_aws_s3",
                    "programFiles": [
                        "lib/ex_aws/s3.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.ExAws.S3':upload_part_copy/8"
                        }
                    ],
                    "repo": "https://github.com/ex-aws/ex_aws_s3",
                    "vendor": "ex-aws",
                    "versions": [
                        {
                            "lessThan": "2.6.0",
                            "status": "affected",
                            "version": "2.0.0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.ExAws.S3'"
                    ],
                    "packageName": "ex-aws/ex_aws_s3",
                    "packageURL": "pkg:github/ex-aws/ex_aws_s3",
                    "product": "ex_aws_s3",
                    "programFiles": [
                        "lib/ex_aws/s3.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.ExAws.S3':upload_part_copy/8"
                        }
                    ],
                    "repo": "https://github.com/ex-aws/ex_aws_s3",
                    "vendor": "ex-aws",
                    "versions": [
                        {
                            "lessThan": "b708beb7cbd0fe2ab7ce685834bb664397e4df1e",
                            "status": "affected",
                            "version": "4ce4d72219c0cb8de9356278203d8ea780311b75",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:ex-aws:ex_aws_s3:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.6.0",
                                    "versionStartIncluding": "2.0.0",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "analyst",
                    "value": "Jonatan Männchen / EEF"
                },
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Bernard Duggan"
                }
            ],
            "datePublic": "2026-11-24T14:15:09.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>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.</p>\n<p><code>ExAws.S3.upload_part_copy/8</code> in <code>lib/ex_aws/s3.ex</code> builds the <code>x-amz-copy-source</code> request header by interpolating the source bucket and object key directly into <code>\"/#{src_bucket}/#{src_object}\"</code> with no percent-encoding. The sibling function <code>put_object_copy</code> percent-encodes the bucket and each path segment before assembling the same header, but <code>upload_part_copy</code> skips encoding entirely.</p>\n<p>When the source key is derived from untrusted input, reserved characters (spaces, <code>?</code>, <code>&amp;</code>, <code>=</code>) pass through verbatim and corrupt the copy-source reference, so the copy targets the wrong object or fails. A key containing <code>\\r</code> or <code>\\n</code> can split or inject additional headers into the outgoing HTTP request, depending on how the configured HTTP backend serializes headers.</p>\n<p>Applications that pass a source bucket or object key derived from untrusted input to <code>ExAws.S3.upload_part_copy/8</code> are affected. Applications that only ever pass trusted, well-formed keys are not affected.</p>\n<p>This issue affects ex_aws_s3: from 2.0.0 before 2.6.0.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "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.\n\n`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.\n\nWhen 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.\n\nApplications 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.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0."
                        }
                    ],
                    "value": "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.\n\nExAws.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.\n\nWhen 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.\n\nApplications 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.\n\nThis issue affects ex_aws_s3: from 2.0.0 before 2.6.0."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-105",
                    "descriptions": [
                        {
                            "lang": "en",
                            "supportingMedia": [
                                {
                                    "base64": false,
                                    "type": "text/html",
                                    "value": "<p>This is an output-encoding defect (missing percent-encoding) in the construction of the <code>x-amz-copy-source</code> header. Affected are applications that call <code>ExAws.S3.upload_part_copy/8</code> with a source bucket or object key derived from untrusted input. The practical consequences range from a corrupted/incorrect copy-source reference (reserved characters) to header injection into the outgoing S3 request when the key contains CR/LF, the latter's reach depending on the HTTP client backend in use. Applications that only ever pass trusted, well-formed keys are not affected.</p>"
                                },
                                {
                                    "base64": false,
                                    "type": "text/markdown",
                                    "value": "This is an output-encoding defect (missing percent-encoding) in the construction of the `x-amz-copy-source` header. Affected are applications that call `ExAws.S3.upload_part_copy/8` with a source bucket or object key derived from untrusted input. The practical consequences range from a corrupted/incorrect copy-source reference (reserved characters) to header injection into the outgoing S3 request when the key contains CR/LF, the latter's reach depending on the HTTP client backend in use. Applications that only ever pass trusted, well-formed keys are not affected."
                                }
                            ],
                            "value": "This is an output-encoding defect (missing percent-encoding) in the construction of the x-amz-copy-source header. Affected are applications that call ExAws.S3.upload_part_copy/8 with a source bucket or object key derived from untrusted input. The practical consequences range from a corrupted/incorrect copy-source reference (reserved characters) to header injection into the outgoing S3 request when the key contains CR/LF, the latter's reach depending on the HTTP client backend in use. Applications that only ever pass trusted, well-formed keys are not affected."
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "attackVector": "LOCAL",
                        "baseScore": 2.1,
                        "baseSeverity": "LOW",
                        "privilegesRequired": "NONE",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "LOW",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "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",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-93",
                            "description": "CWE-93 Improper Neutralization of CRLF Sequences",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-11-24T14:15:10.351Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/ex-aws/ex_aws_s3/security/advisories/GHSA-27g7-88jv-xqhq"
                },
                {
                    "name": "EEF CNA record for CVE-2026-63584",
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-63584.html"
                },
                {
                    "name": "OSV record EEF-CVE-2026-63584",
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-63584"
                },
                {
                    "name": "Introducing commit 4ce4d72 in ex-aws/ex_aws_s3",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/ex-aws/ex_aws_s3/commit/4ce4d72219c0cb8de9356278203d8ea780311b75"
                },
                {
                    "name": "Fix commit b708beb in ex-aws/ex_aws_s3",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ex-aws/ex_aws_s3/commit/b708beb7cbd0fe2ab7ce685834bb664397e4df1e"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Copy-source header injection in ExAws.S3.upload_part_copy/8 via unencoded source key",
            "workarounds": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Percent-encode or otherwise sanitize the source bucket and object key before passing them to <code>ExAws.S3.upload_part_copy/8</code>. At minimum, reject (or strip) any value containing <code>\\r</code>, <code>\\n</code>, or the reserved URI characters that alter the copy-source reference. Encode each path segment with <code>URI.encode(segment, &amp;URI.char_unreserved?/1)</code>, mirroring how <code>put_object_copy</code> builds the same header.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "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."
                        }
                    ],
                    "value": "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."
                }
            ],
            "x_proofOfConcept": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<ol>\n<li>An application copies a part whose source key comes from user input, calling <code>ExAws.S3.upload_part_copy/8</code> and sending the operation with <code>ExAws.request/2</code>.</li>\n<li>The attacker supplies the source key <code>evil key?x=1&amp;y=2</code>.</li>\n<li><code>upload_part_copy/8</code> interpolates it raw, so the request carries <code>x-amz-copy-source: /src-bucket/evil key?x=1&amp;y=2</code> instead of the encoded <code>/src-bucket/evil%20key%3Fx%3D1%26y%3D2</code>.</li>\n<li>The reserved characters change the copy-source reference; a key containing <code>\\r\\n</code> would additionally inject header lines, depending on the HTTP backend.</li>\n</ol>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "1. An application copies a part whose source key comes from user input, calling `ExAws.S3.upload_part_copy/8` and sending the operation with `ExAws.request/2`.\n2. The attacker supplies the source key `evil key?x=1&y=2`.\n3. `upload_part_copy/8` interpolates it raw, so the request carries `x-amz-copy-source: /src-bucket/evil key?x=1&y=2` instead of the encoded `/src-bucket/evil%20key%3Fx%3D1%26y%3D2`.\n4. The reserved characters change the copy-source reference; a key containing `\\r\\n` would additionally inject header lines, depending on the HTTP backend."
                        }
                    ],
                    "value": "* An application copies a part whose source key comes from user input, calling ExAws.S3.upload_part_copy/8 and sending the operation with ExAws.request/2.\n* The attacker supplies the source key evil key?x=1&y=2.\n* upload_part_copy/8 interpolates it raw, so the request carries x-amz-copy-source: /src-bucket/evil key?x=1&y=2 instead of the encoded /src-bucket/evil%20key%3Fx%3D1%26y%3D2.\n* The reserved characters change the copy-source reference; a key containing \\r\\n would additionally inject header lines, depending on the HTTP backend."
                }
            ],
            "x_technicalAnalysis": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p><strong>1. Encoding in the sibling function.</strong> <code>put_object_copy</code> in <code>lib/ex_aws/s3.ex</code> percent-encodes the source bucket and each path segment with <code>URI.encode(..., &amp;URI.char_unreserved?/1)</code> before assembling the <code>x-amz-copy-source</code> header.</p>\n<p><strong>2. No encoding in <code>upload_part_copy/8</code>.</strong> <code>upload_part_copy/8</code> builds the same header as <code>\"/#{src_bucket}/#{src_object}\"</code>, interpolating the bucket and key raw.</p>\n<p><strong>3. Effect.</strong> Reserved characters in the source key (spaces, <code>?</code>, <code>&amp;</code>, <code>=</code>) are placed verbatim into the header and change the meaning of the copy-source reference, so the copy targets the wrong object or fails. A key containing <code>\\r</code> or <code>\\n</code> can split the header or inject additional headers into the outgoing request, depending on how the configured HTTP backend serializes headers.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "**1. Encoding in the sibling function.** `put_object_copy` in `lib/ex_aws/s3.ex` percent-encodes the source bucket and each path segment with `URI.encode(..., &URI.char_unreserved?/1)` before assembling the `x-amz-copy-source` header.\n\n**2. No encoding in `upload_part_copy/8`.** `upload_part_copy/8` builds the same header as `\"/#{src_bucket}/#{src_object}\"`, interpolating the bucket and key raw.\n\n**3. Effect.** Reserved characters in the source key (spaces, `?`, `&`, `=`) are placed verbatim into the header and change the meaning of the copy-source reference, so the copy targets the wrong object or fails. A key containing `\\r` or `\\n` can split the header or inject additional headers into the outgoing request, depending on how the configured HTTP backend serializes headers."
                        }
                    ],
                    "value": "1. Encoding in the sibling function. put_object_copy in lib/ex_aws/s3.ex percent-encodes the source bucket and each path segment with URI.encode(..., &URI.char_unreserved?/1) before assembling the x-amz-copy-source header.\n\n2. No encoding in upload_part_copy/8. upload_part_copy/8 builds the same header as \"/#{src_bucket}/#{src_object}\", interpolating the bucket and key raw.\n\n3. Effect. Reserved characters in the source key (spaces, ?, &, =) are placed verbatim into the header and change the meaning of the copy-source reference, so the copy targets the wrong object or fails. A key containing \\r or \\n can split the header or inject additional headers into the outgoing request, depending on how the configured HTTP backend serializes headers."
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-01T16:38:27.522717Z",
                                "id": "CVE-2026-63584",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-01T16:50:11.235Z"
                }
            }
        ]
    }
}