Critical Vulnerabilities in Python Packages: python2.7, python3.4, python3.5, python3.6, python3.8

python3.4 Updated 03 Oct 2025

Summary

28/03/2022
N/A
Yes i
Unrated
Not published

USN-5342-1: python2.7, python3.4, python3.5, python3.6, python3.8 vulnerabilities. Affects python3.4 versions < 3.4.3-1ubuntu1~14.04.7+esm12. Fixed in 3.4.3-1ubuntu1~14.04.7+esm12. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Python is a widely-used high-level programming language known for its readability and versatility. It supports multiple programming paradigms and is commonly used for web development, data analysis, artificial intelligence, and more. The specific versions of Python mentioned are part of various Ubuntu distributions, which are critical for running applications and scripts. However, these versions have been found to contain vulnerabilities that could lead to serious security issues.

Vulnerability Detail

Several vulnerabilities have been identified in the Python packages, including improper handling of inputs and FTP requests. These vulnerabilities could allow attackers to expose sensitive information or execute arbitrary code. Specifically, CVE-2021-3426 and CVE-2021-4189 affect Ubuntu 18.04 LTS, while CVE-2022-0391 poses a risk across multiple versions. The vulnerabilities stem from flaws in the Python code that fail to validate inputs correctly, leading to potential exploitation.

How To Fix

Minimum fixed version

3.4.3-1ubuntu1~14.04.7+esm12

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python3.4

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

Workaround

If immediate patching is not feasible, consider restricting access to the affected Python applications or using alternative versions of Python that do not contain these vulnerabilities until a proper fix can be applied.

Conclusion

The identified vulnerabilities in Python packages pose significant risks to applications running on affected Ubuntu versions. It is crucial to update to the patched versions as soon as possible to mitigate these risks and ensure the security of your systems.

See every vulnerability recorded for python3.4 →

Share this vulnerability

FAQ

The vulnerabilities include improper input handling and FTP request processing, which could lead to information exposure and arbitrary code execution.

The vulnerabilities affect Ubuntu 14.04 ESM, 16.04 ESM, and 18.04 LTS.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Consider implementing access restrictions to the affected applications or using alternative Python versions until you can apply the necessary updates.

While specific exploits may not be publicly available, the vulnerabilities could potentially be exploited by attackers to gain unauthorized access or execute malicious code.

Related vulnerabilities

Recent vulnerabilities recorded for python3.4.

How To Fix

Minimum fixed version

3.4.3-1ubuntu1~14.04.7+esm12

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python3.4

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