Ex Aws S3
Monthly
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 application forwards into a bucket lifecycle rule - rule id, filter prefix, tag key or value, storage class, or noncurrent-version count - break out of the surrounding XML element inside the PutBucketLifecycleConfiguration request body and inject arbitrary lifecycle actions, including a short expiration that would delete the bucket's objects. The flaw is in ExAws.S3.Utils.build_lifecycle_rule/1 and is reachable through the public ExAws.S3.put_bucket_lifecycle/2 entry point; applications that build lifecycle rules only from static or server-controlled values are not affected. Exploitation is conditional on such a data path existing, is rated high severity (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H), a vendor patch is available, and no public exploit was identified at time of analysis.
XML injection in the Elixir library ex_aws_s3 (versions 2.0.2 up to but not including 2.6.0) allows forged S3 tag entries to be written when an application passes attacker-influenced tag keys or values into ExAws.S3.put_object_tagging/4 or ExAws.S3.put_bucket_tagging/2, which interpolate those values directly into the <TagSet> XML body. Successful injection can produce tags that satisfy IAM tag-based conditions (aws:RequestTag, s3:ExistingObjectTag) or otherwise corrupt the intended tag set; there is no confidentiality or availability impact, and exploitation only works where an application forwards unsanitized, user-supplied tag data. Exploitation requires that specific application-level data flow, no public exploit code has been identified at time of analysis, and the vendor-released fix is version 2.6.0.
XML injection in ex_aws_s3 2.5.9 before 2.6.0 lets an attacker who can influence values passed to the bucket-configuration builders inject arbitrary XML elements into the signed S3 request body. Only applications that call put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, or put_bucket_website/2 with attacker-influenced logging target/prefix, notification ARN, replication destination/Account, or website redirect HostName are exposed, most plausibly in multi-tenant deployments. No public exploit has been identified at time of analysis; the CVSS 4.0 base score is 6.9, and impact is integrity-only with no confidentiality or availability effect and no host code execution.
CRLF and header injection in the Elixir library ExAws.S3 lets an attacker-controlled S3 object key corrupt or split the x-amz-copy-source header that upload_part_copy/8 builds, affecting versions 2.0.0 through 2.5.x (fixed in 2.6.0). Because the key is interpolated raw, spaces, '?', '&' and '=' silently retarget the multipart copy at the wrong object or cause it to fail, while embedded carriage-return or newline characters may inject or split headers depending on the configured HTTP backend - many clients reject control characters in header values, so in practice the integrity impact is often limited to copy-target corruption. This is a low-priority issue: CVSS 4.0 base 2.1 and the independent assessment's CVSS 3.1 AV:N/AC:H/PR:N/UI:N/C:N/I:L/A:N both reflect a high-attack-complexity, integrity-only condition, the vendor has released a patch, and no public exploit has been identified at time of analysis (no CISA KEV entry).
Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injected into the batch-delete request body add arbitrary <Object><Key> entries, causing S3 to delete objects the application never listed - including other users' objects in the same bucket. The flaw affects ex_aws_s3 versions 2.0.0 through 2.5.x and is fixed in 2.6.0; exploitation requires that the consuming Elixir/Erlang application pass an unsanitized, attacker-supplied version id to that function, and no authentication against the library itself is required per the CVSS PR:N metric, with the vendor's AT:P reflecting the prerequisite of controlling that input. No public exploit code has been identified at time of analysis, and this is a moderate-severity data-destruction issue prioritised for remediation this month rather than an emergency.
Presigned URL and presigned POST generation in the Elixir library ex_aws_s3 (2.0.0 through 2.5.x) can be redirected to an attacker-chosen host because the bucket name is interpolated into the URL host without validation. When an application enables virtual_host: true, s3_accelerate: true or bucket_as_host: true and an attacker can influence the bucket name (for example 'attacker.example/x?'), the resulting presigned link resolves to https://attacker.example/... and the signature is computed for that host, so clients that follow the link send uploads or downloads, and the embedded access key id, to the attacker. The flaw is CWE-610 (externally controlled reference to a resource in another sphere), scored 5.8 by the erlef CNA and medium severity in independent assessment; exploitation requires non-default options plus a victim actually using the generated link, and no public exploit was identified at time of analysis. Version 2.6.0 is the vendor fix.
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 controls a grantee value supplied by the integrating application to smuggle additional grantees - including their own canonical ID or the AllUsers URI - into the x-amz-grant-* headers, letting S3 apply permissions the developer never intended, up to full control or public access. The flaw sits in format_grant_header/1, which quotes and comma-joins grantee email and ID values without neutralizing double-quote, comma, or CR/LF characters. Only applications that feed attacker-influenced values into grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control are exposed; the vendor has released a fix in 2.6.0, and no public exploit code was identified at time of analysis (CVSS 4.0 base 4.8, assessed as network-reachable with high attack complexity and scope change).
HTTP header injection in ex_aws_s3 2.0.0 through 2.5.x lets an application that places attacker-influenced data into S3 object metadata have CR/LF characters carried into outbound x-amz-meta-* headers, potentially splitting the HTTP request sent to the S3 endpoint. No authentication is required beyond the ability to influence object metadata, but exploitation requires the integrating application to route such input into the :meta option and the configured ExAws HTTP adapter to fail to neutralize illegal header bytes. Vendor-released patch: 2.6.0; no public exploit identified at time of analysis.
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 application forwards into a bucket lifecycle rule - rule id, filter prefix, tag key or value, storage class, or noncurrent-version count - break out of the surrounding XML element inside the PutBucketLifecycleConfiguration request body and inject arbitrary lifecycle actions, including a short expiration that would delete the bucket's objects. The flaw is in ExAws.S3.Utils.build_lifecycle_rule/1 and is reachable through the public ExAws.S3.put_bucket_lifecycle/2 entry point; applications that build lifecycle rules only from static or server-controlled values are not affected. Exploitation is conditional on such a data path existing, is rated high severity (CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H), a vendor patch is available, and no public exploit was identified at time of analysis.
XML injection in the Elixir library ex_aws_s3 (versions 2.0.2 up to but not including 2.6.0) allows forged S3 tag entries to be written when an application passes attacker-influenced tag keys or values into ExAws.S3.put_object_tagging/4 or ExAws.S3.put_bucket_tagging/2, which interpolate those values directly into the <TagSet> XML body. Successful injection can produce tags that satisfy IAM tag-based conditions (aws:RequestTag, s3:ExistingObjectTag) or otherwise corrupt the intended tag set; there is no confidentiality or availability impact, and exploitation only works where an application forwards unsanitized, user-supplied tag data. Exploitation requires that specific application-level data flow, no public exploit code has been identified at time of analysis, and the vendor-released fix is version 2.6.0.
XML injection in ex_aws_s3 2.5.9 before 2.6.0 lets an attacker who can influence values passed to the bucket-configuration builders inject arbitrary XML elements into the signed S3 request body. Only applications that call put_bucket_logging/2, put_bucket_notification/2, put_bucket_replication/2, or put_bucket_website/2 with attacker-influenced logging target/prefix, notification ARN, replication destination/Account, or website redirect HostName are exposed, most plausibly in multi-tenant deployments. No public exploit has been identified at time of analysis; the CVSS 4.0 base score is 6.9, and impact is integrity-only with no confidentiality or availability effect and no host code execution.
CRLF and header injection in the Elixir library ExAws.S3 lets an attacker-controlled S3 object key corrupt or split the x-amz-copy-source header that upload_part_copy/8 builds, affecting versions 2.0.0 through 2.5.x (fixed in 2.6.0). Because the key is interpolated raw, spaces, '?', '&' and '=' silently retarget the multipart copy at the wrong object or cause it to fail, while embedded carriage-return or newline characters may inject or split headers depending on the configured HTTP backend - many clients reject control characters in header values, so in practice the integrity impact is often limited to copy-target corruption. This is a low-priority issue: CVSS 4.0 base 2.1 and the independent assessment's CVSS 3.1 AV:N/AC:H/PR:N/UI:N/C:N/I:L/A:N both reflect a high-attack-complexity, integrity-only condition, the vendor has released a patch, and no public exploit has been identified at time of analysis (no CISA KEV entry).
Improper XML escaping in ExAws.S3's delete_multiple_objects/3 lets an attacker who controls an object version id injected into the batch-delete request body add arbitrary <Object><Key> entries, causing S3 to delete objects the application never listed - including other users' objects in the same bucket. The flaw affects ex_aws_s3 versions 2.0.0 through 2.5.x and is fixed in 2.6.0; exploitation requires that the consuming Elixir/Erlang application pass an unsanitized, attacker-supplied version id to that function, and no authentication against the library itself is required per the CVSS PR:N metric, with the vendor's AT:P reflecting the prerequisite of controlling that input. No public exploit code has been identified at time of analysis, and this is a moderate-severity data-destruction issue prioritised for remediation this month rather than an emergency.
Presigned URL and presigned POST generation in the Elixir library ex_aws_s3 (2.0.0 through 2.5.x) can be redirected to an attacker-chosen host because the bucket name is interpolated into the URL host without validation. When an application enables virtual_host: true, s3_accelerate: true or bucket_as_host: true and an attacker can influence the bucket name (for example 'attacker.example/x?'), the resulting presigned link resolves to https://attacker.example/... and the signature is computed for that host, so clients that follow the link send uploads or downloads, and the embedded access key id, to the attacker. The flaw is CWE-610 (externally controlled reference to a resource in another sphere), scored 5.8 by the erlef CNA and medium severity in independent assessment; exploitation requires non-default options plus a victim actually using the generated link, and no public exploit was identified at time of analysis. Version 2.6.0 is the vendor fix.
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 controls a grantee value supplied by the integrating application to smuggle additional grantees - including their own canonical ID or the AllUsers URI - into the x-amz-grant-* headers, letting S3 apply permissions the developer never intended, up to full control or public access. The flaw sits in format_grant_header/1, which quotes and comma-joins grantee email and ID values without neutralizing double-quote, comma, or CR/LF characters. Only applications that feed attacker-influenced values into grant_read, grant_write, grant_read_acp, grant_write_acp, or grant_full_control are exposed; the vendor has released a fix in 2.6.0, and no public exploit code was identified at time of analysis (CVSS 4.0 base 4.8, assessed as network-reachable with high attack complexity and scope change).
HTTP header injection in ex_aws_s3 2.0.0 through 2.5.x lets an application that places attacker-influenced data into S3 object metadata have CR/LF characters carried into outbound x-amz-meta-* headers, potentially splitting the HTTP request sent to the S3 endpoint. No authentication is required beyond the ability to influence object metadata, but exploitation requires the integrating application to route such input into the :meta option and the configured ExAws HTTP adapter to fail to neutralize illegal header bytes. Vendor-released patch: 2.6.0; no public exploit identified at time of analysis.