]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: reject control characters in response-header actions 34482/head
authorRobin H. Johnson <rjohnson@digitalocean.com>
Fri, 27 Mar 2020 19:48:13 +0000 (20:48 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 8 Apr 2020 16:39:40 +0000 (18:39 +0200)
commitbe7679007c3dfab3e19c22c38c36ccac91828e3b
treeca4811d282008a0daa540ff2bd7b9e68a9023aac
parent92da834cababc4dddd5dbbab5837310478d1e6d4
rgw: reject control characters in response-header actions

S3 GetObject permits overriding response header values, but those inputs
need to be validated to insure only characters that are valid in an HTTP
header value are present.

Credit: Initial vulnerability discovery by William Bowling (@wcbowling)
Credit: Further vulnerability discovery by Robin H. Johnson <rjohnson@digitalocean.com>
Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
src/rgw/rgw_rest_s3.cc