CVE-2013-6396: OpenStack Python client library for Swift (python-swiftclient) X.509 Certificate Validation Bypass

python-swiftclient Updated 02 Oct 2025

Summary

18/02/2014
Yes i
Critical
9.1

CVE-2013-6396: The OpenStack Python client library for Swift (python-swiftclient) 1.0 through 1.9.0 does not verify X.509 certificates from SSL servers, which allows man-in-the-middle attackers to spoof servers and obtain sensitive inf... Affects python-swiftclient versions >= 1.0, < 2.0. Fixed in 2.0. How to fix ↓

Also tracked for

The same CVE-2013-6396 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The OpenStack Python client library for Swift, also known as python-swiftclient, is a Python library that provides a high-level interface for interacting with the Swift object storage service in OpenStack. It allows users to manage containers and objects stored in Swift. This vulnerability affects versions 1.0 through 1.9.0 of python-swiftclient. The library does not properly verify X.509 certificates from SSL servers, making it susceptible to man-in-the-middle attacks.

Vulnerability Detail

The vulnerability (CVE-2013-6396) in the OpenStack Python client library for Swift allows attackers to perform man-in-the-middle attacks by spoofing SSL servers and obtaining sensitive information. This occurs due to the library's failure to validate X.509 certificates from SSL servers. An attacker with the ability to intercept network traffic can present a crafted certificate, leading the client to establish a connection with the attacker's server instead of the legitimate server. This can result in the disclosure of sensitive information transmitted over the connection, such as authentication credentials or data stored in Swift.

How To Fix

Latest published version: 4.11.0 as of 22 Oct 2026

pip install --upgrade "python-swiftclient==4.11.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.0

This is the first release that contains the fix.

pip install --upgrade "python-swiftclient==2.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can manually verify the SSL certificates of the Swift servers they are connecting to. This can be done by comparing the server's certificate fingerprint with a trusted fingerprint obtained through a secure channel. However, this workaround requires manual verification for each server and may not be feasible in large-scale deployments.

Conclusion

The OpenStack Python client library for Swift (python-swiftclient) versions 1.0 through 1.9.0 are vulnerable to a man-in-the-middle attack due to the lack of X.509 certificate validation. To mitigate this vulnerability, it is recommended to upgrade to version 2.0 or later of python-swiftclient. Users can also manually verify SSL certificates as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-swiftclient →

Share this vulnerability

FAQ

The vulnerability allows attackers to perform man-in-the-middle attacks and obtain sensitive information, potentially leading to unauthorized access, data leakage, or other security breaches.

No, only versions 1.0 through 1.9.0 of python-swiftclient are affected. Version 2.0 and later include the necessary fix.

There are no known public exploits specifically targeting this vulnerability at the time of this report. However, it is important to apply the recommended fix to mitigate the risk of potential attacks.

Yes, this vulnerability can be exploited remotely by an attacker who is able to intercept network traffic between the client and the Swift server.

Yes, you can use Vulert's vulnerability monitoring service to check if your application is affected by this vulnerability. Vulert analyzes your Pipfile.lock and provides real-time alerts for open-source vulnerabilities, including this one.

Related vulnerabilities

Recent vulnerabilities recorded for python-swiftclient.

How To Fix

Latest published version: 4.11.0 as of 22 Oct 2026

pip install --upgrade "python-swiftclient==4.11.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.0

This is the first release that contains the fix.

pip install --upgrade "python-swiftclient==2.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback