VDB

CVE-2022-47950

CVE-2022-47950 PUBLISHED CVSS 8.600000381469727 HIGH

OpenStack Swift XML external entities (XXE) Injection

Reported by mitre · Published January 18, 2023

swift is fixed in 2.30.1, 2.29.2 and 2.28.1 (PyPI)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
swiftPyPI2.30.1, 2.29.2, 2.28.1

Risk scores

CVSS 4.0
8.600000381469727
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
n/an/an/a
PyPIswift0, 2.29.0, 2.30.0
n/an/a*

Timeline

  • Jan 18, 2023 CVE Published
  • Jan 18, 2023 PoC Published
  • Jan 19, 2023 EPSS Score (30 in total, the first dated here)
  • Apr 4, 2025 CVE Updated
  • Mar 9, 2026 Security Advisory (10 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (9 in total, the first dated here)
  • May 24, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-47950
vulnetix vdb fixes CVE-2022-47950

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-47950/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›