USN-6904-1: PyMongo vulnerability

Publication date

22 July 2024

Overview

PyMongo could be made to crash or expose sensitive information if it received a crafted BSON.


Packages

  • pymongo - Python interface to the MongoDB document-oriented database

Details

It was discovered that PyMongo incorrectly handled certain BSON.
An attacker could possibly use this issue to read sensitive information
or cause a crash.

It was discovered that PyMongo incorrectly handled certain BSON.
An attacker could possibly use this issue to read sensitive information
or cause a crash.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.04 noble python3-bson –  3.11.0-1ubuntu0.24.04.1
python3-bson-ext –  3.11.0-1ubuntu0.24.04.1
22.04 jammy python3-bson –  3.11.0-1ubuntu0.22.04.1
python3-bson-ext –  3.11.0-1ubuntu0.22.04.1
20.04 focal python3-bson –  3.10.1-0ubuntu2.1
python3-bson-ext –  3.10.1-0ubuntu2.1
18.04 bionic python-bson –  3.6.1+dfsg1-1ubuntu0.1~esm1  
python-bson-ext –  3.6.1+dfsg1-1ubuntu0.1~esm1  
python3-bson –  3.6.1+dfsg1-1ubuntu0.1~esm1  
python3-bson-ext –  3.6.1+dfsg1-1ubuntu0.1~esm1  
16.04 xenial python-bson –  3.2-1ubuntu0.1~esm1  
python-bson-ext –  3.2-1ubuntu0.1~esm1  
python3-bson –  3.2-1ubuntu0.1~esm1  
python3-bson-ext –  3.2-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›