CVE-2017-8028: Improper Authentication in Pivotal Spring-LDAP

Summary

13/05/2022
Yes i
High
8.1

CVE-2017-8028: Improper Authentication in Pivotal Spring-LDAP. Affects org.springframework.ldap:spring-ldap-core versions >= 1.3.0, < 2.3.2. Fixed in 2.3.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Pivotal Spring-LDAP is a library that provides support for LDAP authentication in Spring applications. It allows developers to connect to LDAP servers and perform authentication operations. This vulnerability affects versions 1.3.0 to 2.3.1 of Pivotal Spring-LDAP. The library uses the LDAP BindAuthenticator with the DefaultTlsDirContextAuthenticationStrategy as the authentication strategy. Some LDAP servers require an explicit operation for the LDAP bind to take effect. However, in certain scenarios, when no additional attributes are bound and the userSearch is set, authentication is allowed with an arbitrary password when the username is correct.

Vulnerability Detail

The vulnerability arises due to improper authentication in Pivotal Spring-LDAP. When connected to specific LDAP servers, if no additional attributes are bound and the userSearch is set, an attacker can authenticate with an arbitrary password as long as the username is correct. This can lead to unauthorized access to sensitive information or unauthorized actions within the application. The vulnerability has a CVSS score of 8.1, indicating a high severity level.

How To Fix

Latest published version: 4.2.0-RC1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is necessary to upgrade to the fixed version of Pivotal Spring-LDAP to address the issue.

Conclusion

In conclusion, the vulnerability in Pivotal Spring-LDAP allows for improper authentication when connected to certain LDAP servers. Upgrading to version 2.3.2 or later of the library is recommended to fix the issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.springframework.ldap:spring-ldap-core →

Share this vulnerability

FAQ

Pivotal Spring-LDAP is a library that provides support for LDAP authentication in Spring applications. It allows developers to connect to LDAP servers and perform authentication operations.

Versions 1.3.0 to 2.3.1 of Pivotal Spring-LDAP are affected by this vulnerability.

The vulnerability allows an attacker to authenticate with an arbitrary password when connected to specific LDAP servers. This can lead to unauthorized access to sensitive information or unauthorized actions within the application.

No, there is no known workaround for this vulnerability. It is necessary to upgrade to the fixed version of Pivotal Spring-LDAP.

The CVSS score of this vulnerability is 8.1, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.ldap:spring-ldap-core.

How To Fix

Latest published version: 4.2.0-RC1 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.3.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback