swift
Affected
- introduced
0, fixed2.28.1(ecosystem)
Fixed versions
2.28.1
Fix
- Fixed version
2.28.1pip install --upgrade swift==2.28.1
Advisory
Also known as: CVE-2022-47950, PYSEC-2026-927
OpenStack Swift XML external entities (XXE) Injection
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).
Medium Basis: The source's own band: MODERATE
0, fixed 2.28.1 (ecosystem)2.28.1
2.28.1pip install --upgrade swift==2.28.12.29.0, fixed 2.29.2 (ecosystem)2.29.2
2.29.2pip install --upgrade swift==2.29.22.30.0, fixed 2.30.1 (ecosystem)2.30.1
2.30.1pip install --upgrade swift==2.30.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0