CVE-2021-3678 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in star7th/showdoc

High 7.5 Published Updated

ShowDoc uses a weak PRNG, potentially allowing attackers to predict tokens or keys and bypass security controls.

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

What is CVE-2021-3678?

CVE-2021-3678 is a high-severity vulnerability in star7th/showdoc, published on 4 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

showdoc is vulnerable to Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Weakness: CWE-338

Which versions are affected by CVE-2021-3678?

2 open source packages ship an affected version, including showdoc/showdoc. It affects 1 product.

PackageAffectedFixed in
showdoc/showdoc PackagistAll versions2.9.8
showdoc/showdoc PackagistAll versions2.9.8

Products include Showdoc Showdoc.

How do I fix CVE-2021-3678?

Upgrade showdoc/showdoc to 2.9.8 or later.

Is CVE-2021-3678 being exploited?

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

Sources

Also known as GHSA-j85q-whc9-g4p9.

Is CVE-2021-3678 in your software?

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

Check your SBOMs for free