CVE-2025-54885
published medium CVSS 4.0 · 6.9Thinbus generates insufficient entropy: 252 bits vs minimum 256 bits
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| simbo1905 | — | thinbus-srp-npm< 2.0.1 | Affected | Not stated | GitHub_M |
Description
Thinbus Javascript Secure Remote Password is a browser SRP6a implementation for zero-knowledge password authentication. In versions 2.0.0 and below, a protocol compliance bug causes the client to generate a fixed 252 bits of entropy instead of the intended bit length of the safe prime (defaulted to 2048 bits). The client public value is being generated from a private value that is 4 bits below the specification. This reduces the protocol's designed security margin it is now practically exploitable. The servers full sized 2048 bit random number is used to create the shared session key and password proof. This is fixed in version 2.0.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| simbo1905 | thinbus-srp-npm | < 2.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-331 CWE-331: Insufficient Entropy
References
3Provider assertions
2GitHub_M · cna
Thinbus generates insufficient entropy: 252 bits vs minimum 256 bits
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fa1615d2400585dbd63df2456a6697e221baf94cf249f1849fd1d2de3af22055
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record