CVE-2025-54885 Thinbus generates insufficient entropy: 252 bits vs minimum 256 bits
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm thinbus-srp(npm) | < 2.0.1 | 2.0.1 | Fixed |
| simbo1905 thinbus-srp-npm | = < 2.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm thinbus-srp(npm) | < 2.0.1 | 2.0.1 |
| simbo1905 thinbus-srp-npm | = < 2.0.1 | No fix listed |
References
- https://github.com/simbo1905/thinbus-srp-npm/security/advisories/GHSA-8q6v-474h-whgg vendor-advisory
- https://github.com/simbo1905/thinbus-srp-npm/issues/28
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/simbo1905/thinbus-srp-npm/pull/30/commits/4aeaea2366e090765a8204059c7bcf3616438d31 patch
- github.com
- github.com product