Ubuntu Security Notice
USN-6539-1
python-cryptography vulnerabilities
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | python-cryptography | All versions before 2.8-3ubuntu0.2 (fixed in 2.8-3ubuntu0.2) |
| Ubuntu:22.04:LTS | python-cryptography | All versions before 3.4.8-1ubuntu2.1 (fixed in 3.4.8-1ubuntu2.1) |