CVE-2022-47950
Python vulnerability analysis and mitigation

Overview

CVE-2022-47950 affects OpenStack Swift versions before 2.28.1, 2.29.x before 2.29.2, and 2.30.0. The vulnerability was discovered by Sébastien Meriot from OVH and reported on January 17, 2023. The issue affects OpenStack Swift's S3 API implementation, impacting both s3api deployments (Rocky or later) and swift3 deployments (Queens and earlier, which is no longer actively developed). Only deployments with S3 compatibility enabled are affected (OpenStack Advisory, Debian Advisory).

Technical details

The vulnerability exists in Swift's S3 XML parser implementation. The issue stems from improper handling of XML entities in the parser, which allows authenticated users to exploit the XML parsing functionality. The vulnerability is located in the file swift/common/middleware/s3api/etree.py. The security impact has been rated as Important, with a CVSS v3.0 base score of 7.7 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N) (OSS Security).

Impact

When exploited, this vulnerability allows an authenticated user to coerce the S3 API into returning arbitrary file contents from the host server. This results in unauthorized read access to potentially sensitive data stored on the system. The impact is limited to deployments that have S3 compatibility enabled (OpenStack Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Swift versions 2.28.1, 2.29.2, and versions after 2.30.0. Organizations can either patch their Swift installations to these versions or disable S3 compatibility if not required. Patches have been provided for multiple OpenStack releases including Antelope, Wallaby, Xena, Yoga, and Zed. Various Linux distributions have also released security updates, including Red Hat, Debian, and Ubuntu (Red Hat Advisory, OpenStack Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65896CRITICAL9.8
  • PythonPython
  • asyncmy
NoNoDec 02, 2025
CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management