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

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-01T10:50:10.000Z
- Modified: 2026-06-17T04:06:21.100Z
- Also known as: GHSA-vrgh-5w3c-ggf8
- Weaknesses: CWE-338
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- star7th star7th/showdoc: from unspecified before 2.9.13
- showdoc/showdoc (Packagist): before 2.9.13
- showdoc showdoc: before 2.9.13

## Every score

- @huntrdev: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/0680067d-56a7-4412-b06e-a267e850ae9f> (exploit, patch, third-party-advisory, web)
- <https://github.com/star7th/showdoc/commit/a9886f26c08225e0adca75c67dfca3f7c42b87d0> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3990> (advisory)
- <https://github.com/star7th/showdoc> (package)

## Sources

- CVE List: [CVE-2021-3990](https://www.cve.org/CVERecord?id=CVE-2021-3990), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-vrgh-5w3c-ggf8](https://github.com/advisories/GHSA-vrgh-5w3c-ggf8), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3990](https://nvd.nist.gov/vuln/detail/CVE-2021-3990), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3990 · Whole record: https://cve.day/CVE-2021-3990.json · Rebuilt by cve.day 2026-11-25T22:58:05.794Z
