Medium, CVSS 4.8npmAmendedPublished
Manifest Uses a One-Way Hash without a Salt
CVE-2025-27408 · GHSA-h8h6-7752-g28c
- Affected
- npm manifest < 4.9.2
- Fixed in
- 4.9.2· Vendor fix available
- Issue
- Manifest employs a weak password hashing implementation that uses SHA3 without a salt. This exposes user passwords to a higher risk of being cracked if an attacker gains access to the database. Without the use of a salt, identical passwords across multiple users will result in the same hash, making it easier for attackers to identify and exploit patterns, thereby accelerating the cracking process. Details Analysis of the application source code reveals that user passwords are hashed using the SHA3 algorithm without implementing a unique salt per user. This approach results in deterministic password hashes, which can be identified by comparing the hashes for users with matching credentials. PoC 1. Create two users with the same password (it could be admin or any other authenticatable entity) 2. Extract their password hashes from the database 3. Verify that both hashes are identical, confirming the absence of unique salts Impact This is a cryptographic weakness vulnerability…
Recommended action: Upgrade to 4.9.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.