CVE-2022-3854: rgw: Guard against malformed bucket URLs
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 8 Jul 2022 18:58:16 +0000 (14:58 -0400)
committerThomas Goirand <zigo@debian.org>
Fri, 27 Jan 2023 15:46:08 +0000 (15:46 +0000)
commitf1e210b1067001c333f395c2fcd3f603614e7494
tree2d45e888e9dad22c59683e340e01c932da4f4b6d
parente7af3d10081667747b427c2fa72f6ff818581b89
CVE-2022-3854: rgw: Guard against malformed bucket URLs

Fixes: https://tracker.ceph.com/issues/55765
Fixes: https://tracker.ceph.com/issues/56586
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Origin: upstream, https://github.com/ceph/ceph/pull/47194/commits/9746e8011ff1de6de7dba9c0041e28a16c8f6828.patch
Bug-Debian: https://bugs.debian.org/1027151
Last-Update: 2022-01-09

Misplaced colons can result in radosgw thinking is has a bucket URL
but with no bucket name, leading to a crash later on.

Gbp-Pq: Name CVE-2022-3854_1_rgw_Guard_against_malformed_bucket_URLs.patch
src/rgw/rgw_common.cc