Critical Vulnerability in python-certifi: Removal of e-Tugra Root Certificates

python-certifi Updated 02 Oct 2025

Summary

25/07/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-37920: Certifi is a curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. Affects python-certifi versions < 2023.7.22-1. Fixed in 2023.7.22-1. How to fix ↓

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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

python-certifi is a Python package that provides a curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It is widely used in applications that require secure communications over the internet. The package ensures that the connections made by applications are secure by validating SSL certificates against trusted root certificates. However, prior to version 2023.07.22, python-certifi included root certificates from 'e-Tugra', which were under investigation for security issues.

Vulnerability Detail

The vulnerability arises from the inclusion of 'e-Tugra' root certificates in python-certifi versions prior to 2023.07.22. These certificates were subject to scrutiny due to reported security issues, which raised concerns about their trustworthiness. The presence of these certificates could potentially allow malicious actors to exploit vulnerabilities in the SSL/TLS validation process, leading to man-in-the-middle attacks or unauthorized access to sensitive data.

How To Fix

Minimum fixed version

2023.7.22-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-certifi

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 remove the e-Tugra root certificates from their system's trust store, but this is not recommended as it may lead to other trust issues. It is best to update to the patched version as soon as possible.

Conclusion

The vulnerability in python-certifi regarding the inclusion of e-Tugra root certificates poses significant security risks. Users are strongly encouraged to update to version 2023.07.22 or later to mitigate these risks. Regular monitoring of dependencies using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for python-certifi →

Share this vulnerability

FAQ

python-certifi is a Python package that provides a collection of Root Certificates for validating SSL certificates, ensuring secure communications.

e-Tugra root certificates are certificates issued by a certificate authority that were found to have security issues, leading to their removal from python-certifi.

If your application uses an affected version of python-certifi, it may be vulnerable to man-in-the-middle attacks due to the inclusion of untrustworthy root certificates.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without signup.

If immediate updates are not possible, consider implementing additional security measures, such as using alternative SSL validation methods until you can update.

Related vulnerabilities

Recent vulnerabilities recorded for python-certifi.

How To Fix

Minimum fixed version

2023.7.22-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-certifi

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