USN-6904-1: PyMongo vulnerability

Published Jul 22, 2024
·
Updated

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

Affected Software

28 affected componentsFixes available
All of the following
ubuntu/python3-bson<3.11.0-1ubuntu0.24.04.1
3.11.0-1ubuntu0.24.04.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/python3-bson-ext<3.11.0-1ubuntu0.24.04.1
3.11.0-1ubuntu0.24.04.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/python3-bson<3.11.0-1ubuntu0.22.04.1
3.11.0-1ubuntu0.22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python3-bson-ext<3.11.0-1ubuntu0.22.04.1
3.11.0-1ubuntu0.22.04.1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python3-bson<3.10.1-0ubuntu2.1
3.10.1-0ubuntu2.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python3-bson-ext<3.10.1-0ubuntu2.1
3.10.1-0ubuntu2.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python-bson<3.6.1+dfsg1-1ubuntu0.1~esm1
3.6.1+dfsg1-1ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python-bson-ext<3.6.1+dfsg1-1ubuntu0.1~esm1
3.6.1+dfsg1-1ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python3-bson<3.6.1+dfsg1-1ubuntu0.1~esm1
3.6.1+dfsg1-1ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python3-bson-ext<3.6.1+dfsg1-1ubuntu0.1~esm1
3.6.1+dfsg1-1ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python-bson<3.2-1ubuntu0.1~esm1
3.2-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python-bson-ext<3.2-1ubuntu0.1~esm1
3.2-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3-bson<3.2-1ubuntu0.1~esm1
3.2-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3-bson-ext<3.2-1ubuntu0.1~esm1
3.2-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Event History

Jul 22, 2024
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of USN-6904-1?

The severity of USN-6904-1 is classified as important due to the potential for an attacker to read sensitive information or cause application crashes.

2

How do I fix USN-6904-1?

To fix USN-6904-1, you should upgrade to the recommended packages: python3-bson and python3-bson-ext version 3.11.0-1ubuntu0.24.04.1 for Ubuntu 24.04.

3

Which software is affected by USN-6904-1?

USN-6904-1 affects the python3-bson and python3-bson-ext packages across multiple Ubuntu versions including 24.04, 22.04, 20.04, and 18.04.

4

What issues does USN-6904-1 address?

USN-6904-1 addresses issues related to improper handling of BSON in PyMongo that can lead to information disclosure and crashes.

5

Is there a workaround for USN-6904-1?

There is no specific workaround for USN-6904-1; upgrading to the patched versions is the only recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203