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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.0%top 36.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12swift2.30.0-4DEBIAN-CVE-2022-47950
Debian:13swift2.30.0-4DEBIAN-CVE-2022-47950
Debian:14swift2.30.0-4DEBIAN-CVE-2022-47950
PyPIswift2.28.1, 2.29.2, 2.30.1PYSEC-2026-927
PyPIswift2.30.1GHSA-274c-rx2j-2v3x
PyPIswift2.28.1GHSA-274c-rx2j-2v3x
PyPIswift2.29.2GHSA-274c-rx2j-2v3x
Ubuntu:22.04:LTSswift2.29.2-0ubuntu1UBUNTU-CVE-2022-47950
Ubuntu:22.04:LTSswift2.29.2-0ubuntu1USN-5852-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-552 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References