synced 9 MIN AGO
01 Record

CVE-2024-5629

Out-of-bounds read in bson module of PyMongo

MediumPUBLISHEDCNA: mongodb
CNA base score4.7 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L

02 Description

Out-of-bounds read in bson module of PyMongo

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.66% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 51.1% of scored records. A rank, not a probability.
NVD base score
8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-06-05 14:32Z2 YR AGO
Last updated
2025-02-13 17:54Z1 YR AGO
Reserved
2024-06-04
Assigning CNA
mongodb
Record state
PUBLISHED
Severity
Medium (CVSS 4.7)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L
Weaknesses
Data version
5.1
Document digest
14964dd2c29ed3a5034e3e18926c12a85001e05fd7b526c692f9d8c80f9b025d

05 Affected products

VendorProductVersionsPlatforms
MongoDB IncPyMongo0 to 4.6.2—

06 References

07 Fixed in

AlmaLinux 8

  • python-nose-docs
    Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
  • python-pymongo-doc
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python-sqlalchemy-doc
    Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
  • python-virtualenv-doc
    Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
  • python3-PyMySQL
    Fixed in 0.10.1-2.module_el8.9.0+3700+efebe9fd
  • python3-bson
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python3-distro
    Fixed in 1.4.0-2.module_el8.9.0+3700+efebe9fd
  • python3-docs
    Fixed in 3.6.7-2.module_el8.9.0+3700+efebe9fd
  • python3-docutils
    Fixed in 0.14-12.module_el8.9.0+3700+efebe9fd
  • python3-nose
    Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
  • python3-pygments
    Fixed in 2.2.0-22.module_el8.9.0+3700+efebe9fd
  • python3-pymongo
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python3-pymongo-gridfs
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python3-scipy
    Fixed in 1.0.0-21.module_el8.9.0+3700+efebe9fd
  • python3-sqlalchemy
    Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
  • python3-virtualenv
    Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
  • python3-wheel
    Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
  • python3-wheel-wheel
    Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
  • python36
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
  • python36-debug
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
  • python36-devel
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
  • python36-rpm-macros
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • python-nose-docs
    Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
  • python-pymongo-doc
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python-sqlalchemy-doc
    Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
  • python-virtualenv-doc
    Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
  • python3-PyMySQL
    Fixed in 0.10.1-2.module_el8.9.0+3700+efebe9fd
  • python3-bson
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python3-distro
    Fixed in 1.4.0-2.module_el8.9.0+3700+efebe9fd
  • python3-docs
    Fixed in 3.6.7-2.module_el8.9.0+3700+efebe9fd
  • python3-docutils
    Fixed in 0.14-12.module_el8.9.0+3700+efebe9fd
  • python3-nose
    Fixed in 1.3.7-31.module_el8.9.0+3700+efebe9fd
  • python3-pygments
    Fixed in 2.2.0-22.module_el8.9.0+3700+efebe9fd
  • python3-pymongo
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python3-pymongo-gridfs
    Fixed in 3.7.0-2.module_el8.10.0+3998+2cf36268
  • python3-scipy
    Fixed in 1.0.0-21.module_el8.9.0+3700+efebe9fd
  • python3-sqlalchemy
    Fixed in 1.3.2-3.module_el8.10.0+3769+3838165b
  • python3-virtualenv
    Fixed in 15.1.0-23.module_el8.10.0+3937+b6a3652f
  • python3-wheel
    Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
  • python3-wheel-wheel
    Fixed in 1:0.31.1-3.module_el8.9.0+3700+efebe9fd
  • python36
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
  • python36-debug
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
  • python36-devel
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b
  • python36-rpm-macros
    Fixed in 3.6.8-39.module_el8.10.0+3769+3838165b

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • pymongo
    Fixed in 3.11.0-1+deb12u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • pymongo
    Fixed in 4.7.3-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • pymongo
    Fixed in 4.7.3-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • pymongo
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • pymongo
    Fixed in 3.10.1-0ubuntu2.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • pymongo
    Fixed in 3.11.0-1ubuntu0.22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • pymongo
    Fixed in 3.11.0-1ubuntu0.24.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • pymongo
    Fixed in 3.2-1ubuntu0.1~esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • pymongo
    Fixed in 3.6.1+dfsg1-1ubuntu0.1~esm1
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.