Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CVE-2023-33201 - Information Exposure vulnerability in org.bouncycastle:bcprov-jdk15on #21664

@abstractj

Description

@abstractj

Description

Bouncy Castle For Java before 1.74 is affected by an LDAP injection vulnerability. The vulnerability only affects 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.

Source: Snyk Open Source
Location: pom.xml
This file introduces a vulnerable org.bouncycastle:bcprov-jdk15on package with a medium severity vulnerability.
(CVE-2023-33201) org.bouncycastle:[email protected]

Detailed paths

Overview

org.bouncycastle:bcprov-jdk15on is a Java implementation of cryptographic algorithms.

Affected versions of this package are vulnerable to Information Exposure due to missing validation for the X.500 name of any certificate, subject, or issuer. The presence of a wild card may lead to information disclosure. This could allow a malicious user to obtain unauthorized information via blind LDAP Injection, exploring the environment and enumerating data.

Note:

The exploit depends on the structure of the target LDAP directory as well as what kind of errors are exposed to the user.

Remediation

A fix was pushed into the master branch but not yet published.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cveIssues identified as CVEs on third-party dependencies, or issues which Keycloak is not affectedteam/cloud-native

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions