CVE-2017-12197
Improper Input Validation in libpam4j
Reported by redhat · Published January 18, 2018
libpam4j is fixed in 1.10 (Maven Central)
It was found that libpam4j up to and including 1.8 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.kohsuke:libpam4j | Maven Central | 1.10 |
| libpam4j | libpam4j_project | 1.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat, Inc. | libpam4j | up to and including 1.8 |
| Red Hat, Inc. | libpam4j | 0 |
| Maven | org.kohsuke:libpam4j | 0 |
Timeline
- Jan 18, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 17, 2026 Security Advisory (5 in total, the first dated here)
- Apr 7, 2026 Distribution Patch (4 in total, the first dated here)
- Oct 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-12197
vulnetix vdb fixes CVE-2017-12197
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-12197/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20171107 [SECURITY] [DLA 1165-1] libpam4j security update mailing-listx_refsource_MLIST
- RHSA-2017:2904 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2905 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2906 vendor-advisoryx_refsource_REDHAT
- DSA-4025 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2017-12197 advisory
- https://github.com/kohsuke/libpam4j/issues/18 url
- https://github.com/kohsuke/libpam4j/commit/02ffdff218283629ba4a902e7fe2fd44646abc21 patch
- https://github.com/advisories/GHSA-x9rg-q5fx-fx66 advisory