CVE-2022-23472
HIGH 7.5CVSS 3.1Passeo uses insecure random number generator
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
- 6 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-338
- Also known as
- GHSA-mhhf-vgwh-fw9hPYSEC-2022-42997
- Sources
- NVDJSONOSV GHSA-mhhf-vgwh-fw9hJSONOSV PYSEC-2022-42997JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | passeo_project | passeocpe:2.3:a:passeo_project:passeo:*:*:*:*:*:python:*:* |
< 1.0.5 | 1.0.5 |
| OSV | PyPI | passeo | < 1.0.5 | 1.0.5 |
References
- https://github.com/ArjunSharda/Passeo/commit/8caa798b6bc4647dca59b2376204b6dc6176361a · Patch, Third Party Advisory, WEB, FIX
- https://github.com/ArjunSharda/Passeo/security/advisories/GHSA-mhhf-vgwh-fw9h · Third Party Advisory, WEB, ADVISORY
- https://peps.python.org/pep-0506/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23472 · ADVISORY
- https://github.com/ArjunSharda/Passeo · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/passeo/PYSEC-2022-42997.yaml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Dec 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Dec 2022)