Project

General

Profile

Actions

Bug #79506

closed
MH MH

rgw/s3: empty SSE header bypasses default encryption

Bug #79506: rgw/s3: empty SSE header bypasses default encryption

Added by Matthew Heler 4 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid, tentacle, umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-2866-g0d6e70090c
Released In:
Upkeep Timestamp:
2026-10-21T01:39:58+00:00

Description

an empty x-amz-server-side-encryption header causes RGW to skip the bucket's default encryption.

S3 only accepts defined values for this header, such as AES256 and aws:kms [1]. an empty value is invalid. when the header is omitted, S3 applies the bucket's default encryption.

RGW should reject an empty value instead of treating it as an encryption opt-out.

S3 references:

https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html
https://docs.aws.amazon.com/AmazonS3/latest/API/API_ServerSideEncryptionByDefault.html

[1]
Valid Values: AES256 | aws:fsx | aws:kms | aws:kms:dsse


Related issues 3 (0 open — 3 closed)

Copied to rgw - Backport #80258: squid: rgw/s3: empty SSE header bypasses default encryptionResolvedMatthew Heler

Actions
Copied to rgw - Backport #80259: umbrella: rgw/s3: empty SSE header bypasses default encryptionResolvedMatthew Heler

Actions
Copied to rgw - Backport #80260: tentacle: rgw/s3: empty SSE header bypasses default encryptionResolvedMatthew Heler

Actions

MH Updated by Matthew Heler 4 months ago Actions #1

  • Pull request ID set to 71073

UB Updated by Upkeep Bot 3 months ago Actions #2

  • Status changed from New to Resolved
  • Merge Commit set to 0d6e70090c817a4acbccacf78b35c02e05d373b9
  • Fixed In set to v21.3.0-2866-g0d6e70090c
  • Upkeep Timestamp set to 2026-09-03T11:48:24+00:00

MH Updated by Matthew Heler 3 months ago Actions #3

  • Status changed from Resolved to Pending Backport
  • Backport set to squid, tentacle, umbrella

MH Updated by Matthew Heler 3 months ago Actions #4

  • Copied to Backport #80258: squid: rgw/s3: empty SSE header bypasses default encryption added

MH Updated by Matthew Heler 3 months ago Actions #5

  • Copied to Backport #80259: umbrella: rgw/s3: empty SSE header bypasses default encryption added

MH Updated by Matthew Heler 3 months ago Actions #6

  • Copied to Backport #80260: tentacle: rgw/s3: empty SSE header bypasses default encryption added

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Status changed from Pending Backport to Backporting
  • Upkeep Timestamp changed from 2026-09-03T11:48:24+00:00 to 2026-09-04T00:43:48+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #8

  • Status changed from Backporting to Resolved
  • Upkeep Timestamp changed from 2026-09-04T00:43:48+00:00 to 2026-10-21T01:39:58+00:00
Actions

Also available in: PDF Atom