{"id":"CVE-2019-10755","aliases":["EUVD-2019-0762","GHSA-rc75-cf5c-mxvh","SNYK-JAVA-ORGPAC4J-467407"],"status":"published","title":"Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml","description":"The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.","severity":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0113,"percentile":0.66644,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-338"],"published":"2019-09-23T22:13:04Z","modified":"2026-10-24T10:30:36Z","fixes":[{"ecosystem":"Maven","package":"org.pac4j:pac4j-saml","fixed_in":["3.8.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.pac4j:pac4j-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.pac4j:pac4j-saml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.2"}]}],"versions":["1.5.0","1.5.1","1.6.0","1.6.0-RC1","1.7.0","1.7.1","1.7.2","1.8.0","1.8.0-RC1","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9","2.0.0","2.0.0-RC1","2.0.0-RC2","2.1.0","2.2.0","2.2.1","2.3.0","2.3.1","3.0.0","3.0.0-RC1","3.0.0-RC2","3.0.1","3.0.2","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.6.1","3.7.0","3.8.0","3.8.1"]}],"products":[{"vendor":"pac4j","product":"pac4j"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGPAC4J-467407","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10755","tags":["advisory"]},{"url":"https://github.com/pac4j/pac4j/commit/34d5b1028a2db201ee81ec51b52a782fe073f609","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rc75-cf5c-mxvh"}],"sources":{"cve":[{"id":"CVE-2019-10755","description":"The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.","status":"published","published":"2019-09-23T22:13:04Z","modified":"2024-08-04T22:32:01.535Z","updated_at":"2026-11-02T14:20:19.056416Z"}],"euvd":[{"id":"EUVD-2019-0762","description":"The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.","status":"published","published":"2019-09-23T22:13:04Z","modified":"2024-08-04T22:32:01Z","updated_at":"2026-11-03T02:40:51.198112Z"}],"ghsa":[{"id":"GHSA-rc75-cf5c-mxvh","title":"Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml","description":"The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.","status":"published","published":"2019-11-06T17:06:28Z","modified":"2023-02-01T05:02:42Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:36:31.364752Z"}],"nvd":[{"id":"CVE-2019-10755","description":"The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.","status":"published","published":"2019-09-23T23:15:10.737Z","modified":"2026-06-17T02:11:36.587Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/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-338"],"updated_at":"2026-11-02T14:05:28.126831Z"}],"osv":[{"id":"CVE-2019-10755","description":"The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.","status":"published","published":"2019-09-23T23:15:10.737Z","modified":"2026-10-24T10:30:36.678528581Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:10.383287Z"},{"id":"GHSA-rc75-cf5c-mxvh","title":"Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml","description":"The SAML identifier generated within SAML2Utils.java was found to make use of the apache commons-lang3 RandomStringUtils class which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong. This issue only affects the 3.X release of pac4j-saml.","status":"published","published":"2019-11-06T17:06:28Z","modified":"2026-09-10T03:49:24.755445257Z","cvss":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:46:55.877614Z"}]}}
