GitHub Advisory Database
GHSA-82mg-x548-gq3j
LDAP Injection in ldapauth
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | ldapauth-fork | All versions before 2.3.3 (fixed in 2.3.3) |
| npm | ldapauth | All versions, no fix listed |
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