Files or Directories Accessible to External Parties Affecting swift package, versions <2.30.0-4


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ECHOLATEST-SWIFT-18480836
  • published31 Jul 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 Echo:latest swift to version 2.30.0-4 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 Echo. See How to fix? for Echo:latest 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