CVE-2024-5629

Publication date 5 June 2024

Last updated 19 August 2025


Ubuntu priority

Cvss 3 Severity Score

4.7 · Medium

Score breakdown

An out-of-bounds read in the 'bson' module of PyMongo 4.6.2 or earlier allows deserialization of malformed BSON provided by a Server to raise an exception which may contain arbitrary application memory.

Status

Package Ubuntu Release Status
pymongo 25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble
Fixed 3.11.0-1ubuntu0.24.04.1
23.10 mantic Ignored end of life, was needs-triage
22.04 LTS jammy
Fixed 3.11.0-1ubuntu0.22.04.1
20.04 LTS focal
Fixed 3.10.1-0ubuntu2.1
18.04 LTS bionic
Fixed 3.6.1+dfsg1-1ubuntu0.1~esm1
16.04 LTS xenial
Fixed 3.2-1ubuntu0.1~esm1
14.04 LTS trusty
Needs evaluation

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
pymongo

Severity score breakdown

Parameter Value
Base score 4.7 · Medium
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Scope Changed
Confidentiality Low
Integrity impact None
Availability impact Low
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:L

References

Related Ubuntu Security Notices (USN)

Other references