Moderate Security Update for Python39: Addressing Trusted Proxy Headers Bypass Vulnerability

python39 Updated 02 Oct 2025

Summary

12/05/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:4791: Moderate: python39:3.9 security update. Affects python39 versions < 3.9.20-1.module_el8.10.0+3902+1690be06. Fixed in 3.9.20-1.module_el8.10.0+3902+1690be06. 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 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

Python39 is an interpreted, interactive, object-oriented programming language that supports modules, classes, exceptions, and dynamic data types. It is widely used for various applications, including web development, data analysis, artificial intelligence, and more. The recent vulnerability identified in the mod_wsgi module of Python39 allows for a bypass of trusted proxy headers, potentially leading to unauthorized access or manipulation of web applications.

Vulnerability Detail

The vulnerability, identified as CVE-2022-2255, arises from a flaw in the mod_wsgi module of Python39, which fails to properly validate trusted proxy headers. This oversight can allow attackers to bypass security measures, leading to unauthorized access to sensitive data or the ability to manipulate application behavior. The implications of this vulnerability can be severe, especially for web applications relying on mod_wsgi for serving Python applications.

How To Fix

Minimum fixed version

3.9.20-1.module_el8.10.0+3902+1690be06

This is the first release that contains the fix.

sudo dnf update python39

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

Workaround

If immediate updating is not feasible, consider implementing additional security measures such as restricting access to sensitive endpoints, using application firewalls, or employing network segmentation to mitigate potential risks until the patch can be applied.

Conclusion

In summary, the moderate security update for Python39 addresses a critical vulnerability in the mod_wsgi module that can lead to serious security risks. It is essential to update the affected packages promptly and consider additional security measures if immediate updates are not possible. Regular monitoring and updates are key to maintaining the security of your applications.

See every vulnerability recorded for python39 →

Share this vulnerability

FAQ

CVE-2022-2255 is a vulnerability in the mod_wsgi module of Python39 that allows attackers to bypass trusted proxy headers.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to unauthorized access to sensitive data and manipulation of application behavior, posing significant risks to web applications.

It is recommended to check for updates regularly, ideally on a weekly basis, to ensure that all security patches are applied promptly.

Vulert is a service that monitors and alerts for open-source vulnerabilities in software using just a manifest file like package-lock.json, ensuring real-time awareness of security issues.

Related vulnerabilities

Recent vulnerabilities recorded for python39.

How To Fix

Minimum fixed version

3.9.20-1.module_el8.10.0+3902+1690be06

This is the first release that contains the fix.

sudo dnf update python39

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