ADVISORIES

GitHub Advisory Database

GHSA-274c-rx2j-2v3x

OpenStack Swift XML external entities (XXE) Injection

Details

An issue was discovered in OpenStack Swift before 2.28.1, 2.29.x before 2.29.2, and 2.30.0. By supplying crafted XML files, an authenticated user may coerce the S3 API into returning arbitrary file contents from the host server, resulting in unauthorized read access to potentially sensitive data. This impacts both s3api deployments (Rocky or later), and swift3 deployments (Queens and earlier, no longer actively developed).

Affected packages

EcosystemPackageAffected versions
PyPIswift
All versions before 2.28.1 (fixed in 2.28.1)
PyPIswift
From 2.29.0 before 2.29.2 (fixed in 2.29.2)
PyPIswift
From 2.30.0 before 2.30.1 (fixed in 2.30.1)

References