{"id":"CVE-2017-12197","aliases":["DEBIAN-CVE-2017-12197","DLA-1165-1","DSA-4025-1","EUVD-2022-5757","GHSA-x9rg-q5fx-fx66","MGASA-2018-0234","RHSA-2017:2904","RHSA-2017:2905","UBUNTU-CVE-2017-12197"],"status":"published","title":"Improper Input Validation in libpam4j","description":"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.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01511,"percentile":0.74635,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20","CWE-863"],"published":"2017-11-07T00:00:00Z","modified":"2026-10-24T10:31:05Z","fixes":[{"ecosystem":"Maven","package":"org.kohsuke:libpam4j","fixed_in":["1.10"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:7","package":"libpam4j","fixed_in":["1.4-2+deb7u1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"libpam4j","fixed_in":["1.4-2+deb8u1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"libpam4j","fixed_in":["1.4-2+deb9u1"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"libpam4j","fixed_in":["1.8-7.1.mga6"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libpam4j","fixed_in":["1.4-2+deb8u1build0.14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libpam4j","fixed_in":["1.4-2+deb8u1build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.kohsuke:libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-2+deb7u1"}]}],"versions":["1.4-2"]},{"source":"osv","ecosystem":"Debian:8","package":"libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-2+deb8u1"}]}],"versions":["1.4-2"]},{"source":"osv","ecosystem":"Debian:9","package":"libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-2+deb9u1"}]}],"versions":["1.4-2"]},{"source":"osv","ecosystem":"Maven","package":"org.kohsuke:libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10"}]}],"versions":["1.5","1.6","1.7","1.8","1.9"]},{"source":"osv","ecosystem":"Mageia:6","package":"libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8-7.1.mga6"}]}]},{"source":"osv","ecosystem":"Red Hat:red_hat_single_sign_on:7::el6","package":"rh-sso7-keycloak","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.14-1.Final_redhat_1.1.jbcs.el6"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:red_hat_single_sign_on:7::el6","package":"rh-sso7-keycloak-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.14-1.Final_redhat_1.1.jbcs.el6"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:red_hat_single_sign_on:7::el7","package":"rh-sso7-keycloak","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.14-1.Final_redhat_1.1.jbcs.el7"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:red_hat_single_sign_on:7::el7","package":"rh-sso7-keycloak-server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.14-1.Final_redhat_1.1.jbcs.el7"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-2+deb8u1build0.14.04.1"}]}],"versions":["1.4-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libpam4j","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-2+deb8u1build0.16.04.1"}]}],"versions":["1.4-2"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"libpam4j_project","product":"libpam4j"},{"vendor":"red hat, inc.","product":"libpam4j"},{"vendor":"redhat","product":"enterprise_linux"}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2017/11/msg00008.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2904","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2905","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2906","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2017/dsa-4025","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1503103","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12197","tags":["advisory"]},{"url":"https://github.com/kohsuke/libpam4j/issues/18","tags":["web"]},{"url":"https://github.com/kohsuke/libpam4j/commit/02ffdff218283629ba4a902e7fe2fd44646abc21","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x9rg-q5fx-fx66"},{"url":"https://github.com/kohsuke/libpam4j","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2018-0234.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22006","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.1/html/release_notes/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1484111","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1484154","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489161","tags":["report"]},{"url":"https://issues.redhat.com/browse/RHSSO-1121","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2904.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2014-9970","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1455566","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-9970","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-9970","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-12158","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12158","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12158","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-12159","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12159","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12159","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-12160","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12160","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12160","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-12197","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12197","tags":["advisory","report"]},{"url":"https://issues.redhat.com/browse/RHSSO-1122","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2905.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-12197","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-12197","description":"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.","status":"published","published":"2018-01-18T21:00:00Z","modified":"2024-08-05T18:28:16.597Z","cwes":["CWE-863"],"updated_at":"2026-11-02T14:33:17.264801Z"}],"euvd":[{"id":"EUVD-2022-5757","description":"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.","status":"published","published":"2018-01-18T21:00:00Z","modified":"2024-08-05T18:28:16Z","updated_at":"2026-11-03T02:23:22.23661Z"}],"ghsa":[{"id":"GHSA-x9rg-q5fx-fx66","title":"Improper Input Validation in libpam4j","description":"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.","status":"published","published":"2022-05-13T01:38:10Z","modified":"2023-01-27T05:02:20Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:17.742171Z"}],"nvd":[{"id":"CVE-2017-12197","description":"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.","status":"published","published":"2018-01-18T21:29:00.203Z","modified":"2026-06-17T01:02:53.05Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-863","CWE-20"],"updated_at":"2026-11-02T14:04:13.257031Z"}],"osv":[{"id":"CVE-2017-12197","description":"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.","status":"published","published":"2018-01-18T21:29:00.203Z","modified":"2026-10-24T10:31:05.446978725Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:04.159616Z"},{"id":"GHSA-x9rg-q5fx-fx66","title":"Improper Input Validation in libpam4j","description":"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.","status":"published","published":"2022-05-13T01:38:10Z","modified":"2023-11-08T03:58:52.089972Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:59.835583Z"},{"id":"RHSA-2017:2904","title":"Red Hat Security Advisory: rh-sso7-keycloak security update","status":"published","published":"2024-09-13T13:38:38Z","modified":"2026-08-05T10:04:49Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:04.822845Z"},{"id":"RHSA-2017:2905","title":"Red Hat Security Advisory: rh-sso7-keycloak security update","status":"published","published":"2024-09-13T13:38:42Z","modified":"2026-08-05T10:04:49Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:04.822845Z"},{"id":"UBUNTU-CVE-2017-12197","description":"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.","status":"published","published":"2018-01-18T21:29:00Z","modified":"2025-09-08T16:44:21Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:13.729565Z"},{"id":"DLA-1165-1","title":"libpam4j - security update","status":"published","published":"2017-11-07T00:00:00Z","modified":"2026-03-09T01:01:29.80929Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DSA-4025-1","title":"libpam4j - security update","status":"published","published":"2017-11-08T00:00:00Z","modified":"2026-03-09T01:21:19.98271Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2018-0234","title":"Updated libpam4j package fixes security vulnerability","description":"It was discovered that libpam4j, a Java library wrapper for the\nintegration of PAM did not call pam_acct_mgmt() during authentication.\nAs such a user who has a valid password, but a deactivated or disabled\naccount could still log in (CVE-2017-12197).\n","status":"published","published":"2018-05-16T08:24:56Z","modified":"2026-04-16T06:25:27.467708502Z","updated_at":"2026-11-02T15:49:40.442238Z"}]}}
