Critical Security Update for python-gevent: Privilege Escalation Vulnerability

python3-gevent Updated 02 Oct 2025

Summary

05/11/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:8834: Important: python-gevent security update. Affects python3-gevent versions < 1.2.2-5.el8_10. Fixed in 1.2.2-5.el8_10. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

python-gevent is a coroutine-based networking library for Python that simplifies asynchronous programming by using greenlets. It provides a high-level synchronous API built on top of the libevent event loop, allowing developers to write concurrent applications easily. Key features include a user-friendly API, synchronization primitives like gevent.event and gevent.queue, a cooperative socket module, a WSGI server, and DNS request handling through libevent-dns. However, a recently discovered vulnerability poses a risk of privilege escalation through a crafted script targeting the WSGIServer component.

Vulnerability Detail

The vulnerability identified as CVE-2023-41419 allows an attacker to escalate privileges by exploiting a flaw in the WSGIServer component of python-gevent. This issue arises from improper handling of crafted scripts, which can lead to unauthorized access and control over the server. The implications of this vulnerability are significant, as it can compromise the integrity and confidentiality of the application, potentially allowing attackers to execute arbitrary code with elevated privileges.

How To Fix

Minimum fixed version

1.2.2-5.el8_10

This is the first release that contains the fix.

sudo dnf update python3-gevent

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

Workaround

As a temporary measure, you can restrict access to the WSGIServer component or avoid using it until the package is updated. This can be done by modifying your application configuration to disable the WSGI server or by implementing strict access controls.

Conclusion

The python-gevent library has a critical vulnerability (CVE-2023-41419) that can lead to privilege escalation. It is crucial for users to update to the patched version to secure their applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for python3-gevent →

Share this vulnerability

FAQ

CVE-2023-41419 is a security vulnerability in the python-gevent library that allows privilege escalation through a crafted script targeting the WSGIServer component.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

Failing to address this vulnerability can lead to unauthorized access, data breaches, and potential control over your application by malicious actors.

Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities, allowing you to stay informed about potential risks in your software.

If immediate updates are not possible, consider implementing workarounds such as restricting access to vulnerable components or enhancing security measures to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for python3-gevent.

How To Fix

Minimum fixed version

1.2.2-5.el8_10

This is the first release that contains the fix.

sudo dnf update python3-gevent

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