|CVE 2015 1856_Prevent unauthorized delete in versioned container.patch | (download)
12 8 + 4 - 0 !
52 52 + 0 - 0 !
71 69 + 2 - 0 !
3 files changed, 129 insertions(+), 6 deletions(-)
cve-2015-1856: prevent unauthorized delete in versioned container
An authenticated user can delete the most recent version of any versioned
object who's name is known if the user has listing access to the
x-versions-location container. Only Swift setups with allow_version setting
This patch closes this bug, tracked as CVE-2015-1856.
|CVE 2015 5223_Disallow unsafe tempurl operations to point to unauthorized data.patch | (download)
31 30 + 1 - 0 !
36 36 + 0 - 0 !
19 19 + 0 - 0 !
3 files changed, 85 insertions(+), 1 deletion(-)
[patch] disallow unsafe tempurl operations to point to unauthorized
Do not allow PUT tempurls to create pointers to other data. Specifically
disallow the creation of DLO object manifests by returning an error if a
non-safe tempurl request includes an X-Object-Manifest header regardless of
the value of the header.
This prevents discoverability attacks which can use any PUT tempurl to probe
for private data by creating a DLO object manifest and then using the PUT
tempurl to head the object which would 404 if the prefix does not match any
object data or form a valid DLO HEAD response if it does.
This also prevents a tricky and potentially unexpected consequence of PUT
tempurls which would make it unsafe to allow a user to download objects
created by tempurl (even if they just created them) because the result of
reading the object created via tempurl may not be the data which was uploaded.
Co-Authored-By: Kota Tsuyuzaki <email@example.com>