{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-23472","id":"CVE-2022-23472","title":"Use of insecure random number generator in Passeo","description":"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 add","descriptionLong":"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","updated":"2026-10-28T02:31:01.961727835Z","reserved":"2022-01-19T21:23:53.757Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ArjunSharda Passeo"],"affectedProducts":[{"vendor":"ArjunSharda","product":"Passeo","defaultStatus":null,"versions":[{"version":"< 1.0.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"passeo","purl":"pkg:pypi/passeo","ranges":["<1.0.5"],"fixed":["1.0.5"],"advisory":"GHSA-mhhf-vgwh-fw9h"}],"cwes":["CWE-338"],"aliases":["GHSA-mhhf-vgwh-fw9h","PYSEC-2022-42997"],"references":[{"url":"https://github.com/ArjunSharda/Passeo/security/advisories/GHSA-mhhf-vgwh-fw9h","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/ArjunSharda/Passeo/commit/8caa798b6bc4647dca59b2376204b6dc6176361a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://peps.python.org/pep-0506/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23472.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23472","tags":["advisory"]},{"url":"https://github.com/ArjunSharda/Passeo","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/passeo/PYSEC-2022-42997.yaml","tags":["web"]},{"url":"https://peps.python.org/pep-0506","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00889,"epssPercentile":0.60094,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-23472","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23472","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-23472","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mhhf-vgwh-fw9h","ok":true,"note":"GHSA-mhhf-vgwh-fw9h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-23472","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}