USN-6904-1: PyMongo vulnerability
22 July 2024
PyMongo could be made to crash or expose sensitive information if it received a crafted BSON.
Releases
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.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
Ubuntu 22.04
Ubuntu 20.04
Ubuntu 18.04
-
python-bson
-
3.6.1+dfsg1-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
python-bson-ext
-
3.6.1+dfsg1-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
python3-bson
-
3.6.1+dfsg1-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
python3-bson-ext
-
3.6.1+dfsg1-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 16.04
-
python-bson
-
3.2-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
python-bson-ext
-
3.2-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
python3-bson
-
3.2-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
python3-bson-ext
-
3.2-1ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.