Advisory Published

USN-6539-1: python-cryptography vulnerabilities

First published: Wed Dec 06 2023(Updated: )

It was discovered that the python-cryptography Cipher.update_into function would incorrectly accept objects with immutable buffers. This would result in corrupted output, contrary to expectations. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.04. (CVE-2023-23931) It was dicovered that python-cryptography incorrectly handled loading certain PKCS7 certificates. A remote attacker could possibly use this issue to cause python-cryptography to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS, Ubuntu 23.04, and Ubuntu 23.10. (CVE-2023-49083)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/python3-cryptography<38.0.4-4ubuntu0.23.10.1
38.0.4-4ubuntu0.23.10.1
Ubuntu Ubuntu=23.10
All of
ubuntu/python3-cryptography<38.0.4-2ubuntu0.1
38.0.4-2ubuntu0.1
Ubuntu Ubuntu=23.04
All of
ubuntu/python3-cryptography<3.4.8-1ubuntu2.1
3.4.8-1ubuntu2.1
Ubuntu Ubuntu=22.04
All of
ubuntu/python-cryptography<2.8-3ubuntu0.2
2.8-3ubuntu0.2
Ubuntu Ubuntu=20.04
All of
ubuntu/python3-cryptography<2.8-3ubuntu0.2
2.8-3ubuntu0.2
Ubuntu Ubuntu=20.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the vulnerability ID of this advisory?

    CVE-2023-23931

  • Which versions of Ubuntu are affected by this vulnerability?

    Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.04

  • What is the remedy for Ubuntu 20.04 LTS?

    Upgrade to version 2.8-3ubuntu0.2 of python-cryptography

  • What is the remedy for Ubuntu 22.04 LTS and Ubuntu 23.04?

    Upgrade to version 3.4.8-1ubuntu2.1 of python3-cryptography

  • Where can I find more information about this vulnerability?

    You can find more information about this vulnerability at the following URLs: [CVE-2023-23931](https://ubuntu.com/security/CVE-2023-23931), [CVE-2023-49083](https://ubuntu.com/security/CVE-2023-49083), [python-cryptography](https://launchpad.net/ubuntu/+source/python-cryptography/38.0.4-4ubuntu0.23.10.1)

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203