CVE-2022-47950
MEDIUM 6.5CVSS 3.1OpenStack 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).
- Published
- 18 Jan 2023
- Last modified
- 7 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-552CWE-611
- Also known as
- GHSA-274c-rx2j-2v3xPYSEC-2026-927
- Sources
- NVDJSONOSV GHSA-274c-rx2j-2v3xJSONOSV PYSEC-2026-927JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openstack | swiftcpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* |
< 2.28.1 | 2.28.1 |
| NVD | openstack | swiftcpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:* |
>= 2.29.0, < 2.29.2 | 2.29.2 |
| NVD | openstack | swiftcpe:2.3:a:openstack:swift:2.30.0:*:*:*:*:*:*:* |
= 2.30.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | swift | < 2.28.1 | 2.28.1 |
| OSV | PyPI | swift | >= 2.29.0, < 2.29.2 | 2.29.2 |
| OSV | PyPI | swift | >= 2.30.0, < 2.30.1 | 2.30.1 |
| OSV | PyPI | swift | < 2.28.1; >= 2.29.0, < 2.29.2; >= 2.30.0, < 2.30.1 | 2.28.1, 2.29.2, 2.30.1 |
References
- https://launchpad.net/bugs/1998625 · Exploit, Issue Tracking, Patch, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/01/msg00021.html · Mailing List, Third Party Advisory, WEB
- https://security.openstack.org/ossa/OSSA-2023-001.html · Patch, Vendor Advisory, WEB
- https://www.debian.org/security/2023/dsa-5327 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-47950 · ADVISORY
- https://github.com/openstack/swift/commit/12e54391861e7d182d58f89fb88b027e65842640 · WEB
- https://github.com/openstack/swift/commit/7d13d1a82e1f5d01205a13184907501b4fcbe2b0 · WEB
- https://github.com/openstack/swift/commit/8dd96470a859dc7b189404fb67bd3899ae9c617f · WEB
- https://github.com/openstack/swift/commit/b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e · WEB
- https://github.com/openstack/swift/commit/baa98848451b5c234443a068691e12841a5a8383 · WEB
- https://github.com/openstack/swift/commit/c834e7a53d5a33a3fd13ffd954e6f4f4ee953dfc · WEB
- https://github.com/openstack/swift/commit/d8d04ef43c90079d436b2e49617b4425ba39c28e · WEB
- https://github.com/openstack/swift/commit/f10672514217adadfc776d9ea2ffb20a37ce073b · WEB
- https://github.com/openstack/swift · PACKAGE
- https://pypi.org/project/swift · PACKAGE
- https://github.com/advisories/GHSA-274c-rx2j-2v3x · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 18 Jan 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jan 2023)