LDAP Injection Affecting go.pinniped.dev/internal/upstreamldap Open this link in a new tab package, versions <0.17.0


0.0
high
  • Attack Complexity

    High

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-GOLANG-GOPINNIPEDDEVINTERNALUPSTREAMLDAP-2823319

  • published

    12 May 2022

  • disclosed

    12 May 2022

  • credit

    Unknown

How to fix?

Upgrade go.pinniped.dev/internal/upstreamldap to version 0.17.0 or higher.

Overview

go.pinniped.dev/internal/upstreamldap is an implements an abstraction of upstream LDAP IDP interactions.

Affected versions of this package are vulnerable to LDAP Injection in the Pinniped Supervisor with either LDAPIdentityProvider or ActiveDirectoryIdentityProvider resources. An attack would involve the malicious user changing the common name (CN) of their user entry on the LDAP or AD server to include special characters, which could be used to perform LDAP query injection on the Supervisor's LDAP query which determines their Kubernetes group membership.