CVE-2019-10755 Use of Cryptographically Weak Pseudo-Random Number Generator in org.pac4j:pac4j-saml

Medium 4.9 Published Updated

Predictable SAML identifiers due to weak random number generation allow attackers to bypass authentication in the pac4j-saml library.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-10755?

CVE-2019-10755 is a medium-severity vulnerability in PAC4J For SAML Protocol, published on 23 Sep 2019. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-338

Which versions are affected by CVE-2019-10755?

2 open source packages ship an affected version, including org.pac4j:pac4j-saml. It affects 1 product.

PackageAffectedFixed in
org.pac4j:pac4j-saml MavenAll versions3.8.2
org.pac4j:pac4j-saml MavenAll versions3.8.2

Products include Pac4j Pac4j.

How do I fix CVE-2019-10755?

Upgrade org.pac4j:pac4j-saml to 3.8.2 or later.

Is CVE-2019-10755 being exploited?

There is no known exploitation of CVE-2019-10755 in the wild and no public exploit code.

Sources

Also known as GHSA-rc75-cf5c-mxvh, SNYK-JAVA-ORGPAC4J-467407.

Is CVE-2019-10755 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free