GitHub Advisory Database
GHSA-x9rg-q5fx-fx66
Improper Input Validation in libpam4j
Details
It was found that libpam4j prior to 1.10 did not properly validate user accounts when authenticating. A user with a valid password for a disabled account would be able to bypass security restrictions and possibly access sensitive information.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.kohsuke:libpam4j | All versions before 1.10 (fixed in 1.10) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-12197
- https://github.com/kohsuke/libpam4j/issues/18
- https://github.com/kohsuke/libpam4j/commit/02ffdff218283629ba4a902e7fe2fd44646abc21
- https://access.redhat.com/errata/RHSA-2017:2904
- https://access.redhat.com/errata/RHSA-2017:2905
- https://access.redhat.com/errata/RHSA-2017:2906
- https://bugzilla.redhat.com/show_bug.cgi?id=1503103
- https://github.com/kohsuke/libpam4j
- https://lists.debian.org/debian-lts-announce/2017/11/msg00008.html
- https://www.debian.org/security/2017/dsa-4025