GitHub Advisoryadvisory · PyPI

GHSA-274c-rx2j-2v3x OpenStack Swift XML external entities (XXE) Injection

MEDIUM Published 2023-01-18 Modified 2025-04-04 Official page ↗
Aliases
CVE-2022-47950
Ecosystem
PyPI
Packages
swift
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-552, CWE-611
Reviewed
2024-05-14

Affected packages

• PyPI swift: < 2.28.1 → fixed in 2.28.1 • PyPI swift: >= 2.29.0, < 2.29.2 → fixed in 2.29.2 • PyPI swift: >= 2.30.0, < 2.30.1 → fixed in 2.30.1

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

Related

Alias · CVE (1)

  • CVE-2022-47950 An issue was discovered in OpenStack Swift before 2.28.1, 2.29.x before 2.29.2, and 2.30.0. vulnerability

Weakness · CWE (2)

  • CWE-552 Files or Directories Accessible to External Parties weakness
  • CWE-611 Improper Restriction of XML External Entity Reference weakness

References