CVE-2022-23472 json
Use of insecure random number generator in Passeo
published 2022-12-06 3 y ago modified 2026-06-17 4 mo ago also GHSA-mhhf-vgwh-fw9h , PYSEC-2022-42997 , EUVD-2022-0193
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | passeo | <1.0.5 |
1.0.5 |
Affected products
- ArjunSharda Passeo
Classification
- Weakness
-
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
-
github.com
/ArjunSharda/Passeo/commit/8caa798b6bc4647dca59b2376204b6dc6176361a
web, patch, third-party-advisory
-
github.com
/ArjunSharda/Passeo/security/advisories/GHSA-mhhf-vgwh-fw9h
web, third-party-advisory, advisory
-
peps.python.org
/pep-0506/
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-23472
advisory
-
github.com
/ArjunSharda/Passeo
package
-
github.com
/pypa/advisory-database/tree/main/vulns/passeo/PYSEC-2022-42997.yaml
web
-
peps.python.org
/pep-0506
web
Sources
- CVE List CVE-2022-23472
- GitHub Advisory GHSA-mhhf-vgwh-fw9h
- NVD CVE-2022-23472
- OSV PYSEC-2022-42997
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.