Every CVE Search/ Get API key

CVE-2024-21506

Updated python-pymongo packages fix security vulnerability

5.2 MediumFix availableRejected

Duplicate of CVE-2024-5629.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

What each source reports

OSV Score usedOESA-2024-1388 5.2

python-pymongo security update

The PyMongo distribution contains tools for interacting with \ MongoDB database from Python.\ PyMongo supports MongoDB 2.6, 3.0, 3.2, 3.4, 3.6, 4.0 and 4.2.

Security Fix(es):

Versions of the package pymongo before 4.6.3 are vulnerable to Out-of-bounds Read in the bson module. Using the crafted payload the attacker could force the parser to deserialize unmanaged memory. The parser tries to interpret bytes next to buffer and throws an exception with string. If the following bytes are not printable UTF-8 the parser throws an exception with a single byte.(CVE-2024-21506)

Record
OESA-2024-1388
CVSS 3.1
5.2 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
Updated
2026-11-02
CVE List No score

Duplicate of CVE-2024-5629.

Record
CVE-2024-21506
Updated
2026-11-02
EUVDEUVD-2024-19195 No score

Duplicate of CVE-2024-5629.

Record
EUVD-2024-19195
Updated
2026-11-03
NVD No score

Rejected reason: Duplicate of CVE-2024-5629.

Record
CVE-2024-21506
Updated
2026-11-02
OSVMGASA-2024-0187 No score

Updated python-pymongo packages fix security vulnerability

Versions of the package pymongo before 4.6.3 are vulnerable to Out-of-bounds Read in the bson module. Using the crafted payload the attacker could force the parser to deserialize unmanaged memory. The parser tries to interpret bytes next to buffer and throws an exception with string. If the following bytes are not printable UTF-8 the parser throws an exception with a single byte.

Record
MGASA-2024-0187
Updated
2026-11-02
OSVopenSUSE-SU-2024:13931-1 No score

python310-pymongo-4.6.3-1.1 on GA media

These are all security issues fixed in the python310-pymongo-4.6.3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13931-1
Updated
2026-11-02
Show 4 moreShow less
OSVopenSUSE-SU-2026:11478-1 No score

python313-pymongo-4.17.0-1.1 on GA media

These are all security issues fixed in the python313-pymongo-4.17.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11478-1
Updated
2026-11-02
OSVSUSE-SU-2024:1571-1 No score

Security update for python-pymongo

This update for python-pymongo fixes the following issues:

  • CVE-2024-21506: Fixed out-of-bounds read in the BSON module (bsc#1222492)
Record
SUSE-SU-2024:1571-1
Updated
2026-11-02
OSVSUSE-SU-2024:1571-2 No score

Security update for python-pymongo

This update for python-pymongo fixes the following issues:

  • CVE-2024-21506: Fixed out-of-bounds read in the BSON module (bsc#1222492)
Record
SUSE-SU-2024:1571-2
Updated
2026-11-02
OSVUBUNTU-CVE-2024-21506 No score

** REJECT ** Duplicate of CVE-2024-5629.

Record
UBUNTU-CVE-2024-21506
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
python-pymongo
Mageia:9
before 4.3.3-1.1.mga9
4.3.3-1.1.mga9
python-pymongo
openEuler:20.03-LTS-SP1
before 3.9.0-6.oe1
3.9.0-6.oe1
python-pymongo
openEuler:20.03-LTS-SP4
before 3.9.0-6.oe2003sp4
3.9.0-6.oe2003sp4
python-pymongo
openEuler:22.03-LTS
before 3.11.3-3.oe2203sp3
3.11.3-3.oe2203sp3
python-pymongo
openEuler:22.03-LTS-SP1
before 3.11.3-3.oe2203sp1
3.11.3-3.oe2203sp1
python-pymongo
openEuler:22.03-LTS-SP2
before 3.11.3-3.oe2203sp2
3.11.3-3.oe2203sp2
python-pymongo
openEuler:22.03-LTS-SP3
before 3.11.3-3.oe2203sp3
3.11.3-3.oe2203sp3
python-pymongo
SUSE:Linux Enterprise Module for Package Hub 15 SP5
before 3.11.0-150300.3.3.1
3.11.0-150300.3.3.1
python-pymongo
openSUSE:Leap 15.5
before 3.11.0-150300.3.3.1
3.11.0-150300.3.3.1
python-pymongo
SUSE:Linux Enterprise Module for Package Hub 15 SP6
before 3.11.0-150300.3.3.1
3.11.0-150300.3.3.1
python-pymongo
openSUSE:Leap 15.6
before 3.11.0-150300.3.3.1
3.11.0-150300.3.3.1
python-pymongo
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 4.17.0-1.1
4.17.0-1.1

History

History
RecordedChangedSources
affected, facts
affected
aliases, products, publishedEUVD
first indexedCVE List, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-21506 has been rejected by its source and should not be treated as a live vulnerability, published April 6, 2024. Fixed in python-pymongo 4.3.3-1.1.mga9.

References

Show 8 moreShow less
MoveEnter Open