Critical Security Update for Python 3.6: Out-of-Bounds Read Vulnerability in bson Module

python-nose-docs Updated 02 Oct 2025

Summary

03/06/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:8419: Low: python36:3.6 security update. Affects python-nose-docs versions < 1.3.7-31.module_el8.9.0+3700+efebe9fd. Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd. 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 is a widely-used interpreted, interactive, object-oriented programming language known for its simplicity and versatility. It supports various system calls and libraries, making it a popular choice for developers. The affected package, python36, is a version of Python that includes essential libraries and modules, including pymongo, which interfaces with MongoDB databases. This vulnerability specifically affects the bson module within pymongo, which is responsible for handling BSON data formats.

Vulnerability Detail

The vulnerability identified as CVE-2024-5629 is an out-of-bounds read in the bson module of python-pymongo. This flaw can lead to unauthorized access to sensitive data or application crashes, potentially allowing attackers to exploit the system. The issue arises from improper handling of data, which can be triggered by malformed BSON documents, leading to memory access violations.

How To Fix

Minimum fixed version

1.3.7-31.module_el8.9.0+3700+efebe9fd

This is the first release that contains the fix.

sudo dnf update python-nose-docs

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

Workaround

As a temporary workaround, consider restricting access to the affected modules or implementing input validation to prevent malformed BSON documents from being processed. However, this is not a permanent solution and should only be used until the packages are updated.

Conclusion

The vulnerability CVE-2024-5629 in the bson module of python-pymongo poses significant security risks. It is crucial to update the affected packages to their patched versions to mitigate these risks. Temporary workarounds can be implemented, but they should not replace the need for a proper update.

See every vulnerability recorded for python-nose-docs →

Share this vulnerability

FAQ

CVE-2024-5629 is a security vulnerability in the bson module of python-pymongo that allows for out-of-bounds reads, potentially leading to unauthorized data access.

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

The risks include unauthorized access to sensitive data, application crashes, and potential exploitation by attackers.

Yes, patched versions of the affected packages are available. Updating to these versions will resolve the vulnerability.

If immediate updates are not possible, implement input validation and restrict access to the affected modules as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for python-nose-docs.

How To Fix

Minimum fixed version

1.3.7-31.module_el8.9.0+3700+efebe9fd

This is the first release that contains the fix.

sudo dnf update python-nose-docs

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