Moderate: python-cryptography security update

python3-cryptography Updated 02 Oct 2025

Summary

14/11/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:7096: Moderate: python-cryptography security update. Affects python3-cryptography versions < 3.2.1-6.el8. Fixed in 3.2.1-6.el8. 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

The python-cryptography packages contain a Python Cryptographic Authority's (PyCA's) cryptography library, which provides cryptographic primitives and recipes to Python developers. This library is widely used in various applications for secure communication, encryption, and authentication.

Vulnerability Detail

The vulnerability identified in the python-cryptography package is a memory corruption issue that can be exploited through immutable objects. An attacker could potentially craft a malicious input that triggers memory corruption, leading to various consequences such as crashes, information leaks, or even remote code execution. This vulnerability has been assigned the CVE identifier CVE-2023-23931.

How To Fix

Minimum fixed version

3.2.1-6.el8

This is the first release that contains the fix.

sudo dnf update python3-cryptography

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

Workaround

There is no specific workaround mentioned for this vulnerability. However, applying the recommended fix by updating the python-cryptography package to the latest version should mitigate the risk.

Conclusion

In conclusion, the python-cryptography package is affected by a memory corruption vulnerability that can be mitigated by updating to the latest version. It is crucial to apply the recommended fix to ensure the secure usage of the library. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for python3-cryptography →

Share this vulnerability

FAQ

The python-cryptography package is a library that provides cryptographic primitives and recipes to Python developers. It is widely used for secure communication, encryption, and authentication in various applications.

This vulnerability could allow an attacker to trigger memory corruption, leading to potential crashes, information leaks, or remote code execution. It is important to update the package to mitigate the risk.

To fix this vulnerability, update the python-cryptography package to version 3.2.1-6.el8 or later. This update includes the necessary patches to address the memory corruption issue.

There are no specific workarounds mentioned for this vulnerability. Updating the python-cryptography package to the latest version is the recommended approach.

You can find more information about this vulnerability, including its impact and technical details, on the CVE page associated with the identifier CVE-2023-23931.

Related vulnerabilities

Recent vulnerabilities recorded for python3-cryptography.

How To Fix

Minimum fixed version

3.2.1-6.el8

This is the first release that contains the fix.

sudo dnf update python3-cryptography

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.