Every CVE Search/ Get API key

CVE-2022-47950

OpenStack Swift XML external entities (XXE) Injection

6.5 MediumFix available

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).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.02%Up 0.1 points since Jan 19, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

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).

Record
CVE-2022-47950
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-552
Updated
2026-11-02
CVE List 6.5

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).

Record
CVE-2022-47950
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-552
Updated
2026-11-02
EUVDEUVD-2023-0306 6.5

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).

Record
EUVD-2023-0306
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-274c-rx2j-2v3x 6.5

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).

Record
GHSA-274c-rx2j-2v3x
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-552, CWE-611
Updated
2026-11-02
OSV 6.5

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).

Record
CVE-2022-47950
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2022-47950 6.5

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).

Record
DEBIAN-CVE-2022-47950
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
Show 8 moreShow less
OSVGHSA-274c-rx2j-2v3x 6.5

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).

Record
GHSA-274c-rx2j-2v3x
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-552, CWE-611
Updated
2026-11-02
OSVPYSEC-2026-927 6.5

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).

Record
PYSEC-2026-927
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2023:1013 7.7

Red Hat Security Advisory: Red Hat OpenStack Platform 17.0 (openstack-swift) security update

Record
RHSA-2023:1013
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Updated
2026-11-02
OSVRHSA-2023:1277 7.7

Red Hat Security Advisory: Red Hat OpenStack Platform (openstack-swift) security update

Record
RHSA-2023:1277
CVSS 3.1
7.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2022-47950 6.5

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).

Record
UBUNTU-CVE-2022-47950
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVSUSE-SU-2023:0323-1 No score

Security update for python-swift3

This update for python-swift3 fixes the following issues:

  • CVE-2022-47950: Fixed an issue that could allow a remote attacker to disclose local file contents via a crafted XML file (bsc#1207035).
Record
SUSE-SU-2023:0323-1
Updated
2026-11-02
OSVSUSE-SU-2023:2378-1 No score

Security update for openstack-heat, openstack-swift, python-Werkzeug

This update for openstack-heat, openstack-swift, python-Werkzeug contains the following fixes:

Security fixes included in this update:

openstack-heat:

  • CVE-2023-1625: Fixed an issue where parameter values marked as 'hidden' would be shown in the stack's environment (bsc#1209774).

openstack-swift:

  • CVE-2022-47950: Fixed a local file disclosure that could be triggered by an authenticated attacker by supplying a malicious XML (bnc#1207035).

python-Werkzeug:

  • CVE-2023-25577: Fixed an unbounded resource usage when parsing multipart forms with many fields (bsc#1208283).

Non security changes on this update:

Changes in openstack-heat:

  • Honor 'hidden' parameter in 'stack environment show' command. (bsc#1209774, CVE-2023-1625)

Changes in openstack-swift:

  • Prevent XXE injections in API. (bsc#1207035, CVE-2022-47950)

Changes in python-Werkzeug;

  • Limit maximum number of multipart form parts. (bsc#1208283, CVE-2023-25577)
Record
SUSE-SU-2023:2378-1
Updated
2026-11-02
OSVUSN-5852-1 No score

swift vulnerability

It was discovered that OpenStack Swift incorrectly handled certain XML files. A remote authenticated user could possibly use this issue to obtain arbitrary file contents containing sensitive information from the server.

Record
USN-5852-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
swift
PyPI
before 2.28.1
2.28.1
swift
PyPI
2.29.0 up to 2.29.2
2.29.2
swift
PyPI
2.30.0 to 2.30.0
2.30.1
swift
Debian:12
before 2.30.0-4
2.30.0-4
swift
Debian:13
before 2.30.0-4
2.30.0-4
swift
Debian:14
before 2.30.0-4
2.30.0-4
swift
Debian:10
before 2.19.1-1+deb10u1, plus listed versions
2.19.1-1
2.19.1-1+deb10u1
swift
Debian:11
before 2.26.0-10+deb11u1, plus listed versions
2.26.0-10
2.26.0-10+deb11u1
swift
PyPI
before 2.28.1, plus listed versions
1.0.22.15.22.17.12.19.12.19.2
Show 15 moreShow less
2.20.02.21.02.21.12.22.02.23.02.23.12.23.22.23.32.24.02.25.02.25.12.25.22.26.02.27.02.28.0
2.28.1
swift
PyPI
2.29.0 up to 2.29.2, plus listed versions
2.29.1
2.29.2
Show 40 moreShow less
Affected packages
PackageAffectedFixed
swift
PyPI
2.30.0 up to 2.30.1
2.30.1
swift
PyPI
before 2.28.1, 2.29.0 up to 2.29.2, 2.30.0 up to 2.30.1, plus listed versions
1.0.22.15.22.17.12.19.12.19.2
Show 16 moreShow less
2.20.02.21.02.21.12.22.02.23.02.23.12.23.22.23.32.24.02.25.02.25.12.25.22.26.02.27.02.28.02.29.1
2.28.12.29.22.30.1
openstack-swift
Red Hat:openstack:17.0::el9
before 0:2.27.1-0.20230201120900.6a1a8ce.el9ost
0:2.27.1-0.20230201120900.6a1a8ce.el9ost
openstack-swift-account
Red Hat:openstack:17.0::el9
before 0:2.27.1-0.20230201120900.6a1a8ce.el9ost
0:2.27.1-0.20230201120900.6a1a8ce.el9ost
openstack-swift-container
Red Hat:openstack:17.0::el9
before 0:2.27.1-0.20230201120900.6a1a8ce.el9ost
0:2.27.1-0.20230201120900.6a1a8ce.el9ost
openstack-swift-object
Red Hat:openstack:17.0::el9
before 0:2.27.1-0.20230201120900.6a1a8ce.el9ost
0:2.27.1-0.20230201120900.6a1a8ce.el9ost
openstack-swift-proxy
Red Hat:openstack:17.0::el9
before 0:2.27.1-0.20230201120900.6a1a8ce.el9ost
0:2.27.1-0.20230201120900.6a1a8ce.el9ost
python3-swift
Red Hat:openstack:17.0::el9
before 0:2.27.1-0.20230201120900.6a1a8ce.el9ost
0:2.27.1-0.20230201120900.6a1a8ce.el9ost
openstack-swift-plugin-swift3
Red Hat:openstack:13::el7
before 0:1.12.1-1.el7ost
0:1.12.1-1.el7ost
openstack-swift
Red Hat:openstack:16.1::el8
before 0:2.23.2-1.20230201163512.eef87ee.el8ost
0:2.23.2-1.20230201163512.eef87ee.el8ost
openstack-swift-account
Red Hat:openstack:16.1::el8
before 0:2.23.2-1.20230201163512.eef87ee.el8ost
0:2.23.2-1.20230201163512.eef87ee.el8ost
openstack-swift-container
Red Hat:openstack:16.1::el8
before 0:2.23.2-1.20230201163512.eef87ee.el8ost
0:2.23.2-1.20230201163512.eef87ee.el8ost
openstack-swift-object
Red Hat:openstack:16.1::el8
before 0:2.23.2-1.20230201163512.eef87ee.el8ost
0:2.23.2-1.20230201163512.eef87ee.el8ost
openstack-swift-proxy
Red Hat:openstack:16.1::el8
before 0:2.23.2-1.20230201163512.eef87ee.el8ost
0:2.23.2-1.20230201163512.eef87ee.el8ost
python3-swift
Red Hat:openstack:16.1::el8
before 0:2.23.2-1.20230201163512.eef87ee.el8ost
0:2.23.2-1.20230201163512.eef87ee.el8ost
openstack-swift
Red Hat:openstack:16.2::el8
before 0:2.23.4-2.20220422185313.2829195.el8ost
0:2.23.4-2.20220422185313.2829195.el8ost
openstack-swift-account
Red Hat:openstack:16.2::el8
before 0:2.23.4-2.20220422185313.2829195.el8ost
0:2.23.4-2.20220422185313.2829195.el8ost
openstack-swift-container
Red Hat:openstack:16.2::el8
before 0:2.23.4-2.20220422185313.2829195.el8ost
0:2.23.4-2.20220422185313.2829195.el8ost
openstack-swift-object
Red Hat:openstack:16.2::el8
before 0:2.23.4-2.20220422185313.2829195.el8ost
0:2.23.4-2.20220422185313.2829195.el8ost
openstack-swift-proxy
Red Hat:openstack:16.2::el8
before 0:2.23.4-2.20220422185313.2829195.el8ost
0:2.23.4-2.20220422185313.2829195.el8ost
python3-swift
Red Hat:openstack:16.2::el8
before 0:2.23.4-2.20220422185313.2829195.el8ost
0:2.23.4-2.20220422185313.2829195.el8ost
python-swift3
SUSE:HPE Helion OpenStack 8
before 1.7.0.dev372-3.3.1
1.7.0.dev372-3.3.1
python-swift3
SUSE:OpenStack Cloud 8
before 1.7.0.dev372-3.3.1
1.7.0.dev372-3.3.1
python-swift3
SUSE:OpenStack Cloud Crowbar 8
before 1.7.0.dev372-3.3.1
1.7.0.dev372-3.3.1
openstack-heat
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 11.0.4~dev4-3.24.4
11.0.4~dev4-3.24.4
openstack-swift
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 2.19.3~dev3-3.6.3
2.19.3~dev3-3.6.3
python-Werkzeug
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 0.14.1-3.6.2
0.14.1-3.6.2
venv-openstack-designate
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 7.0.2~dev2-3.41.2
7.0.2~dev2-3.41.2
venv-openstack-heat
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 11.0.4~dev4-3.43.2
11.0.4~dev4-3.43.2
venv-openstack-keystone
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 14.2.1~dev9-3.42.2
14.2.1~dev9-3.42.2
venv-openstack-magnum
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 7.2.1~dev1-4.41.3
7.2.1~dev1-4.41.3
venv-openstack-octavia
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 3.2.3~dev7-4.41.2
3.2.3~dev7-4.41.2
venv-openstack-sahara
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 9.0.2~dev15-3.41.2
9.0.2~dev15-3.41.2
venv-openstack-swift
SUSE:OpenStack Cloud 9
From an advisory covering 3 CVEs
before 2.19.3~dev3-2.36.3
2.19.3~dev3-2.36.3
openstack-heat
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 3 CVEs
before 11.0.4~dev4-3.24.4
11.0.4~dev4-3.24.4
openstack-swift
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 3 CVEs
before 2.19.3~dev3-3.6.3
2.19.3~dev3-3.6.3
python-Werkzeug
SUSE:OpenStack Cloud Crowbar 9
From an advisory covering 3 CVEs
before 0.14.1-3.6.2
0.14.1-3.6.2
swift
Ubuntu:16.04:LTS
All versions, plus listed versions
2.5.0-0ubuntu12.7.0-0ubuntu22.7.0-0ubuntu2.12.7.1-0ubuntu12.7.1-0ubuntu2
None known
swift
Ubuntu:20.04:LTS
before 2.25.2-0ubuntu1.1, plus listed versions
2.23.0-0ubuntu12.23.1-0ubuntu12.24.0~git2019121715.e890b0f0f-0ubuntu12.24.0-0ubuntu12.24.1~git2020032711.712bf3c9f-0ubuntu2
Show 4 moreShow less
2.24.1~git2020041316.a495f1e32-0ubuntu12.25.0-0ubuntu0.20.04.12.25.1-0ubuntu12.25.2-0ubuntu1
2.25.2-0ubuntu1.1
swift
Ubuntu:22.04:LTS
before 2.29.2-0ubuntu1, plus listed versions
2.28.0+git2021090911.5d52afbe4-0ubuntu12.28.0+git2021120815.1859f2e16-0ubuntu12.28.0+git2021121320.876377435-0ubuntu12.28.0+git2022011309.32da73f5c-0ubuntu12.29.0+git2022030314.3ff3076ce-0ubuntu12.29.0+git2022030314.3ff3076ce-0ubuntu22.29.1-0ubuntu1
2.29.2-0ubuntu1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-47950 is a medium vulnerability (CVSS 6.5) in Openstack Swift, published January 18, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.02%, the 63rd percentile. Fixed in swift 2.28.1.

References

Show 31 moreShow less
MoveEnter Open