Home
» GitHub Advisories
» GHSA-rc75-cf5c-mxvh
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.
Basic information
Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
—
Source code
Not specified
Published (advisory)
2019-11-06 17:06:28 UTC
Updated
2023-02-01 05:02:42 UTC
GitHub reviewed
2019-11-05 19:56:04 UTC
NVD published
2019-09-23 23:15:00 UTC
EPSS Score
Score
Percentile
0.31%
53.96%
CVSS Scores
Base score
Version
Severity
Vector
4.9
3.1
—
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
CWEs
CWE id
Name
CWE-338
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected packages (1)
Vulnerable version ranges and first patched releases as published by GitHub.
Ecosystem
Package
Vulnerable range
First patched
Vulnerable functions
maven
org.pac4j:pac4j-saml
< 3.8.2
3.8.2
—
cvelogic
Threat Intelligence