Amazon Linux Security Advisory
ALAS2023-2024-636
Amazon Linux 2023 - ALAS2023-2024-636: Medium priority package update for bouncycastle
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-34447: An issue was discovered in Bouncy Castle Java Cryptography APIs before BC 1.78. When endpoint identification is enabled in the BCJSSE and an SSL socket is created without an explicit hostname (as happens with HttpsURLConnection), hostname verification could be performed against a DNS-resolved IP address in some situations, opening up a possibility of DNS poisoning.
CVE-2024-29857: An issue was discovered in ECCurve.java and ECCurve.cs in Bouncy Castle Java (BC Java) before 1.78, BC Java LTS before 2.73.6, BC-FJA before 1.0.2.5, and BC C# .Net before 2.3.1. Importing an EC certificate with crafted F2m parameters can lead to excessive CPU consumption during the evaluation of the curve parameters.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | bouncycastle | All versions before 1.70-4.amzn2023.0.5 (fixed in 1.70-4.amzn2023.0.5) |
| Amazon Linux:2023 | bouncycastle-javadoc | All versions before 1.70-4.amzn2023.0.5 (fixed in 1.70-4.amzn2023.0.5) |
| Amazon Linux:2023 | bouncycastle-mail | All versions before 1.70-4.amzn2023.0.5 (fixed in 1.70-4.amzn2023.0.5) |
| Amazon Linux:2023 | bouncycastle-pg | All versions before 1.70-4.amzn2023.0.5 (fixed in 1.70-4.amzn2023.0.5) |
| Amazon Linux:2023 | bouncycastle-pkix | All versions before 1.70-4.amzn2023.0.5 (fixed in 1.70-4.amzn2023.0.5) |
| Amazon Linux:2023 | bouncycastle-tls | All versions before 1.70-4.amzn2023.0.5 (fixed in 1.70-4.amzn2023.0.5) |
| Amazon Linux:2023 | bouncycastle-util | All versions before 1.70-4.amzn2023.0.5 (fixed in 1.70-4.amzn2023.0.5) |