{"id":"CVE-2021-3990","published":"2021-12-01T10:50:10Z","modified":"2024-08-03T17:16:03Z","title":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in star7th/showdoc","vendor":"star7th","product":"star7th/showdoc","tier":"tail","description":{"text":"showdoc is vulnerable to Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00891,"percentile":0.57273,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://huntr.dev/bounties/0680067d-56a7-4412-b06e-a267e850ae9f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/star7th/showdoc/commit/a9886f26c08225e0adca75c67dfca3f7c42b87d0","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":11.45},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"star7th","affectedVersions":[{"vendor":"star7th","product":"star7th/showdoc","versions":[">= unspecified, < 2.9.13"]}],"affected":[{"ecosystem":"Packagist","package":"showdoc/showdoc","vulnerableRanges":["<2.9.13"],"patched":["2.9.13"],"from":["GHSA-vrgh-5w3c-ggf8"],"provenance":"source"}],"summary":{"text":"The star7th/showdoc product contains a flaw where a cryptographically weak pseudo-random number generator (PRNG) is used in place of a secure source of randomness. An attacker able to reach the product over the network, with no authentication or user interaction required but with a high attack complexity, could exploit this weakness to compromise confidentiality, integrity, and availability to a limited degree.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:37Z"},"euvd":{"id":"EUVD-2021-2596","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-star7th-showdoc-cve-2021-3678","parents":[{"from":"CVE-2021-3678","to":"CVE-2021-3990","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/Application/Api/Controller/AdminSettingController.class.php"],"commits":["https://github.com/star7th/showdoc/commit/4b962c1740311e0d46775023b6acba39ad60e370","https://github.com/star7th/showdoc/commit/a9886f26c08225e0adca75c67dfca3f7c42b87d0"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2021-3680","to":"CVE-2021-3990","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/Application/Api/Controller/AdminSettingController.class.php"],"commits":["https://github.com/star7th/showdoc/commit/4b962c1740311e0d46775023b6acba39ad60e370","https://github.com/star7th/showdoc/commit/a9886f26c08225e0adca75c67dfca3f7c42b87d0"],"basis":"rarely changed file"}]}]}}