VYPR
High severity8.1NVD Advisory· Published Nov 27, 2017· Updated May 13, 2026

CVE-2017-8028

CVE-2017-8028

Description

In Pivotal Spring-LDAP versions 1.3.0 - 2.3.1, when connected to some LDAP servers, when no additional attributes are bound, and when using LDAP BindAuthenticator with org.springframework.ldap.core.support.DefaultTlsDirContextAuthenticationStrategy as the authentication strategy, and setting userSearch, authentication is allowed with an arbitrary password when the username is correct. This occurs because some LDAP vendors require an explicit operation for the LDAP bind to take effect.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.springframework.ldap:spring-ldap-coreMaven
>= 1.3.0, < 2.3.22.3.2

Affected products

16
  • cpe:2.3:a:pivotal_software:spring-ldap:1.3.0:*:*:*:*:*:*:*+ 13 more
    • cpe:2.3:a:pivotal_software:spring-ldap:1.3.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:1.3.1:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:1.3.1:rc1:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:1.3.2:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.0.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.0.1:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.0.2:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.0.3:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.0.4:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.1.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.2.1:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.3.0:*:*:*:*:*:*:*
    • cpe:2.3:a:pivotal_software:spring-ldap:2.3.1:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • Range: Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1

Patches

1
08e8ae289bbd

Force reconnect with credentials on DefaultTlsDirContextAuthenticationStrategy

https://github.com/spring-projects/spring-ldapTobias SchneiderNov 25, 2016via ghsa
1 file changed · +2 0
  • core/src/main/java/org/springframework/ldap/core/support/DefaultTlsDirContextAuthenticationStrategy.java+2 0 modified
    @@ -36,6 +36,8 @@ protected void applyAuthentication(LdapContext ctx, String userDn, String passwo
     		ctx.addToEnvironment(Context.SECURITY_AUTHENTICATION, SIMPLE_AUTHENTICATION);
    
     		ctx.addToEnvironment(Context.SECURITY_PRINCIPAL, userDn);
    
     		ctx.addToEnvironment(Context.SECURITY_CREDENTIALS, password);
    
    +		// Force reconnect with user credentials
    
    +		ctx.reconnect(null);
    
     	}
    
     
    
     }
    
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

8

News mentions

0

No linked articles in our index yet.