LDAP Injection Affecting go.pinniped.dev/internal/upstreamldap package, versions <0.17.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

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 Learn

Learn about LDAP Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOPINNIPEDDEVINTERNALUPSTREAMLDAP-2823319
  • published12 May 2022
  • disclosed12 May 2022
  • creditUnknown

Introduced: 12 May 2022

CVE-2022-22975  (opens in a new tab)
CWE-90  (opens in a new tab)

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.

CVSS Scores

version 3.1