{"id":"CVE-2022-23472","aliases":["GHSA-mhhf-vgwh-fw9h","PYSEC-2022-42997"],"url":"https://o3.security/vulnerability/CVE-2022-23472","summary":"Use of insecure random number generator in Passeo","details":"Passeo is an open source python password generator. Versions prior to 1.0.5 rely on the python `random` library for random value selection. The python `random` library warns that it should not be used for security purposes due to its reliance on a non-cryptographically secure random number generator. As a result a motivated attacker may be able to guess generated passwords. This issue has been addressed in version 1.0.5. Users are advised to upgrade. There are no known workarounds for this vulnerability.","published":"2022-12-06T17:18:59.217Z","modified":"2026-07-15T01:49:10.969701364Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"passeo","fixedVersion":"1.0.5"}],"fix":{"url":"https://github.com/ArjunSharda/Passeo/commit/8caa798b6bc4647dca59b2376204b6dc6176361a","label":"ArjunSharda/Passeo@8caa798"},"references":[{"type":"WEB","url":"https://peps.python.org/pep-0506/"},{"type":"ADVISORY","url":"https://github.com/ArjunSharda/Passeo/security/advisories/GHSA-mhhf-vgwh-fw9h"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23472.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23472"},{"type":"FIX","url":"https://github.com/ArjunSharda/Passeo/commit/8caa798b6bc4647dca59b2376204b6dc6176361a"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:10.969701364Z"}}