Skip to content
Fencer Intel
medium 6.5

CVE-2017-12197 json

Improper Input Validation in libpam4j

published 8y ago modified 4mo ago also GHSA-x9rg-q5fx-fx66 , EUVD-2022-5757

cvss
6.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.kohsuke:libpam4j 1.10
  • libpam4j Ubuntu 14.04 LTS 1.4-2+deb8u1build0.14.04.1
  • libpam4j Ubuntu 16.04 LTS 1.4-2+deb8u1build0.16.04.1

ubuntu advisories UBUNTU-CVE-2017-12197

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-sso7-keycloak red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el7
  • rh-sso7-keycloak-server red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el7
  • rh-sso7-keycloak red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el6
  • rh-sso7-keycloak-server red hat single sign on 7 2.5.14-1.Final_redhat_1.1.jbcs.el6

red hat advisories RHSA-2017:2905RHSA-2017:2904

Is CVE-2017-12197 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-12197 updated cvss 4.3

libpam4j: Account check bypass

  • Red Hat Single Sign-On 7.1
    fixed: vendor fix RHSA-2017:2906
  • Red Hat Single Sign-On 7.1 for RHEL 6 Server rh-sso7-keycloak 2.5.14-1.Final_redhat_1.1.jbcs.el6, rh-sso7-keycloak-server 2.5.14-1.Final_redhat_1.1.jbcs.el6
    fixed: vendor fix RHSA-2017:2904
  • Red Hat Single Sign-On 7.1 for RHEL 7 Server rh-sso7-keycloak 2.5.14-1.Final_redhat_1.1.jbcs.el7, rh-sso7-keycloak-server 2.5.14-1.Final_redhat_1.1.jbcs.el7
    fixed: vendor fix RHSA-2017:2905

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.51% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:P/I:N/A:N
GitHub 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.kohsuke:libpam4j
<1.10
1.10

Affected products

  • Red Hat, Inc. libpam4j

Classification

Weakness
  • CWE-863 Incorrect Authorization
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.