LDAP Injection in ldapauth
Versions 2.2.4 and earlier of ldapauth-fork are affected by an LDAP injection vulnerability. This allows an attacker to inject and run arbitrary LDAP commands via the username parameter.
Recommendation
ldapauth is not actively maintained, having not seen a publish since 2014. As a result, there is no patch available. Consider updating to use ldapauth-fork 2.3.3 or greater.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | ldapauth | all versions | no fix |
| npm package | ldapauth-fork | < 2.3.3 | 2.3.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-7294
- https://github.com/vesse/node-ldapauth-fork/issues/21
- https://github.com/vesse/node-ldapauth-fork/commit/3feea43e243698bcaeffa904a7324f4d96df60e4
- https://github.com/vesse/node-ldapauth-fork
- https://www.npmjs.com/advisories/18
- https://www.npmjs.com/advisories/19
- http://www.openwall.com/lists/oss-security/2015/09/18/4
- http://www.openwall.com/lists/oss-security/2015/09/18/8
- http://www.openwall.com/lists/oss-security/2015/09/21/2
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-90- Platform
- npm
- Package
ldapauth, ldapauth-fork- Disclosed
- 31.08.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-82mg-x548-gq3j - CC BY 4.0
Vulnerability history: ldapauth
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.