Description
ldapscripts 1.4 and 1.7 sends a password as a command line argument when calling some LDAP programs, which might allow local users to read the password by listing the process and its arguments, as demonstrated by a call to ldappasswd in the _changepassword function.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ldapscripts | 1.7.1-2 | — |
| Debian 13 | ldapscripts | 1.7.1-2 | — |
| Debian 12 | ldapscripts | 1.7.1-2 | — |
| Debian 5.0 | ldapscripts | 1.4-2+lenny1 | DTSA-68-1 |
| Debian 4.0 | ldapscripts | 1.4-2etch1 | DSA-1517-1 |
Advisories 2
- DSA-1517-1 ldapscripts - information disclosure Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-68-1 ldapscripts - unauthorized disclosure of information Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1517 vendor-advisory
- 27111 third-party-advisory
- 25982 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445582
- 29395 third-party-advisory
- ldapscripts-commandline-info-disclosure(37029) vdb-entry