Vulnerability · Published Jan 18, 2023 · Assigned by mitre
CVE-2022-47950
Medium 6.5
In plain English
A medium-severity security flaw in the swift package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | swift | 2.30.0-4 | DEBIAN-CVE-2022-47950 |
| Debian:13 | swift | 2.30.0-4 | DEBIAN-CVE-2022-47950 |
| Debian:14 | swift | 2.30.0-4 | DEBIAN-CVE-2022-47950 |
| PyPI | swift | 2.28.1, 2.29.2, 2.30.1 | PYSEC-2026-927 |
| PyPI | swift | 2.30.1 | GHSA-274c-rx2j-2v3x |
| PyPI | swift | 2.28.1 | GHSA-274c-rx2j-2v3x |
| PyPI | swift | 2.29.2 | GHSA-274c-rx2j-2v3x |
| Ubuntu:22.04:LTS | swift | 2.29.2-0ubuntu1 | UBUNTU-CVE-2022-47950 |
| Ubuntu:22.04:LTS | swift | 2.29.2-0ubuntu1 | USN-5852-1 |
Affected products (as reported)
Weakness: CWE-552 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N