Vulnerability library
Security checkAugust 07, 2025

The Thinbus Javascript Secure Remote Password (SRP) Client Generates Fewer Bits of Entropy Than Intended

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmthinbus-srp

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A protocol compliance bug in thinbus-srp-npm versions prior to 2.0.1 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). RFC 5054 states in section 2.5.4 Client Key Exchange

The client key exchange message carries the client’s public value (A).

Recommendation

Update the thinbus-srp package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.0.1
  • Patched version(s): 2.0.1

References

Could your website be exposed too?

SmartScanner can check your website for The Thinbus Javascript Secure Remote Password (SRP) Client Generates Fewer Bits of Entropy Than Intended and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 07, 2025