Files or Directories Accessible to External Parties Affecting swift package, versions <2.31.0+git2023020814.488f8c83-0ubuntu1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-SWIFT-15737579
  • published21 Mar 2026
  • disclosed18 Jan 2023

Introduced: 18 Jan 2023

CVE-2022-47950  (opens in a new tab)
CWE-552  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 swift to version 2.31.0+git2023020814.488f8c83-0ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream swift package and not the swift package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1