Amazon Linux AMI update for bouncycastle



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-33201
CWE-ID CWE-90
Exploitation vector Network
Public exploit N/A
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

bouncycastle
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) LDAP injection

EUVDB-ID: #VU78328

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2023-33201

CWE-ID: CWE-90 - Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to improper input validation in applications that use an LDAP CertStore from Bouncy Castle to validate X.509 certificates. During the certificate validation process, Bouncy Castle inserts the certificate's Subject Name into an LDAP search filter without any escaping, which leads to an LDAP injection vulnerability. A remote non-authenticated attacker can use a specially crafted X.509 certificate to bypass authentication process and gain unauthorized access to the application.

Mitigation

Update the affected packages:

noarch:
    bouncycastle-mail-1.70-4.amzn2023.0.3.noarch
    bouncycastle-pkix-1.70-4.amzn2023.0.3.noarch
    bouncycastle-pg-1.70-4.amzn2023.0.3.noarch
    bouncycastle-tls-1.70-4.amzn2023.0.3.noarch
    bouncycastle-util-1.70-4.amzn2023.0.3.noarch
    bouncycastle-1.70-4.amzn2023.0.3.noarch
    bouncycastle-javadoc-1.70-4.amzn2023.0.3.noarch

src:
    bouncycastle-1.70-4.amzn2023.0.3.src

Vulnerable software versions

Amazon Linux AMI: All versions

bouncycastle: before 1.70-4

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-280.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###