Project

General

Profile

Actions

Bug #73484

closed
ML ML

Verify key id before sending to Barbican

Bug #73484: Verify key id before sending to Barbican

Added by marcel lauhoff about 1 year ago. Updated 30 days ago.

Status:
Backporting
Priority:
Normal
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid, tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-2961-g2c1a239515
Released In:
v21.2.0~2082
Upkeep Timestamp:
2026-11-04T01:07:22+00:00

Description

In RGW's KMS subsystem request_key_from_barbican is called with a raw user-defined key id. To prevent issues like path injection match against a UUID4 regex first. Add this check close to the Barbican calls, as other KMS backends have other key format definitions.

Barbican secret ids are defined as "uuid" and matched against Python's UUID 4 parser.

Ticket created after merge to track backports (https://github.com/ceph/ceph/pull/65010#issuecomment-3310607993)


Related issues 2 (2 open — 0 closed)

Copied to rgw - Backport #73571: tentacle: Verify key id before sending to BarbicanFix Under ReviewKonstantin Shalygin

Actions
Copied to rgw - Backport #73572: squid: Verify key id before sending to BarbicanFix Under ReviewKonstantin Shalygin

Actions

JI Updated by J. Eric Ivancich about 1 year ago Actions #1

  • Status changed from New to Pending Backport
  • Assignee set to marcel lauhoff

UB Updated by Upkeep Bot about 1 year ago Actions #2

  • Copied to Backport #73571: tentacle: Verify key id before sending to Barbican added

UB Updated by Upkeep Bot about 1 year ago Actions #3

  • Copied to Backport #73572: squid: Verify key id before sending to Barbican added

UB Updated by Upkeep Bot about 1 year ago Actions #4

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot about 1 year ago Actions #5

  • Merge Commit set to 2c1a239515ad131f420839d9b8dfd1e358e75752
  • Fixed In set to v20.3.0-2961-g2c1a239515
  • Upkeep Timestamp set to 2025-10-17T00:44:30+00:00

UB Updated by Upkeep Bot 3 months ago Actions #6

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-10-17T00:44:30+00:00 to 2026-08-27T18:13:31+00:00

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

  • Released In set to v21.2.0~2081
  • Upkeep Timestamp changed from 2026-08-27T18:13:31+00:00 to 2026-10-24T01:09:06+00:00

UB Updated by Upkeep Bot 30 days ago Actions #8

  • Released In changed from v21.2.0~2081 to v21.2.0~2082
  • Upkeep Timestamp changed from 2026-10-24T01:09:06+00:00 to 2026-11-04T01:07:22+00:00
Actions

Also available in: PDF Atom