Skip to content

umbrella: rgw/s3: reject an empty x-amz-server-side-encryption header - #71536

Merged
batrick merged 2 commits into
ceph:umbrellafrom
mheler:wip-80259-umbrella
Oct 7, 2026
Merged

batrick merged 2 commits into
ceph:umbrellafrom
mheler:wip-80259-umbrella

Conversation

@mheler

@mheler mheler commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

an empty value suppressed the bucket's default encryption but never
reached the algorithm checks, so the object was written unencrypted.
gate on the header's presence instead of a non-empty value, so an
empty value fails with InvalidArgument like any other bad algorithm.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit 97df5c8)
an empty value used to suppress the bucket's default encryption and
store the object unencrypted. expect InvalidArgument instead.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit d870380)
@mheler
mheler requested a review from a team as a code owner September 3, 2026 15:39
@mheler mheler added this to the umbrella milestone Sep 3, 2026
@github-actions github-actions Bot added rgw tests releng-audit-pass Release engineering: passed backport verification audit. labels Sep 3, 2026
@mheler mheler changed the title umbrella: null umbrella: rgw/s3: empty SSE header bypasses default encryption Sep 3, 2026
@mheler mheler changed the title umbrella: rgw/s3: empty SSE header bypasses default encryption umbrella: rgw/s3: reject an empty x-amz-server-side-encryption header Sep 7, 2026
@batrick

batrick commented Sep 29, 2026

Copy link
Copy Markdown
Member

@batrick
batrick merged commit e0a1848 into ceph:umbrella Oct 7, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa releng-audit-pass Release engineering: passed backport verification audit. rgw tests wip-pdonnell-testing3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants