CVE-2022-47950
openstack-swift: Arbitrary file access through custom S3 XML entities
Overview
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).
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-552
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | swift | <2.28.1>=2.29.0, <2.29.2>=2.30.0, <2.30.1 | 2.28.12.29.22.30.1 |
Open a package to see all its vulnerabilities.
Operating systems · 16 fixes
Red Hat 4 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openstack-swift +5 | affected | — | |
| 7 | openstack-swift-plugin-swift3 | 0:1.12.1-1.el7ost | RHSA-2023:1277 |
| 8 | openstack-swift-account +4 | 0:2.23.2-1.20230201163512.eef87ee.el8ost | RHSA-2023:1277 |
| 8 | openstack-swift-account +4 | 0:2.23.4-2.20220422185313.2829195.el8ost | RHSA-2023:1277 |
| 9 | openstack-swift-account +4 | 0:2.27.1-0.20230201120900.6a1a8ce.el9ost | RHSA-2023:1013 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | swift | 2.19.1-1+deb10u1 |
| 11 | swift | 2.26.0-10+deb11u1 |
| 12 | swift | 2.30.0-4 |
| 13 | swift | 2.30.0-4 |
| 14 | swift | 2.30.0-4 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| swift | 2.30.0-4 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | swift | 2.25.2-0ubuntu1.1 |
| 20.04-ESM | swift | 2.25.2-0ubuntu1.1 |
| 22.04 | swift | 2.29.2-0ubuntu1 |
| 24.04 | swift | 2.31.0+git2023020814.488f8c83-0ubuntu1 |
| 26.04 | swift | 2.31.0+git2023020814.488f8c83-0ubuntu1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-47950
- github.com https://github.com/openstack/swift
- github.com https://github.com/openstack/swift/commit/12e54391861e7d182d58f89fb88b027e65842640
- github.com https://github.com/openstack/swift/commit/7d13d1a82e1f5d01205a13184907501b4fcbe2b0
- github.com https://github.com/openstack/swift/commit/8dd96470a859dc7b189404fb67bd3899ae9c617f
- github.com https://github.com/openstack/swift/commit/b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e
- github.com https://github.com/openstack/swift/commit/baa98848451b5c234443a068691e12841a5a8383
- github.com https://github.com/openstack/swift/commit/c834e7a53d5a33a3fd13ffd954e6f4f4ee953dfc
- github.com https://github.com/openstack/swift/commit/d8d04ef43c90079d436b2e49617b4425ba39c28e
- github.com https://github.com/openstack/swift/commit/f10672514217adadfc776d9ea2ffb20a37ce073b
Show all 18 references
- launchpad.net https://launchpad.net/bugs/1998625
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/01/msg00021.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-47950
- security.openstack.org https://security.openstack.org/ossa/OSSA-2023-001.html
- ubuntu.com https://ubuntu.com/security/notices/USN-5852-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-47950
- www.debian.org https://www.debian.org/security/2023/dsa-5327
- www.openwall.com https://www.openwall.com/lists/oss-security/2023/01/17/1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.