CVE-2025-27408: Manifest Manifest Uses A One-Way Hash Vulnerability

MODERATE
Advisory Identifier: GHSA-h8h6-7752-g28c
CVSS 4.8
CWE-759
Published
Advisory Summary

CVE-2025-27408 is a MODERATE (CVSS 4.8) manifest uses a one-way hash vulnerability (CWE-759: Use of a One-Way Hash without a Salt) affecting Manifest libraries in the npm ecosystem. The issue involves manifest uses a one-way hash without a salt. Remediation is available by upgrading affected packages to version 4.9.2.

CVE-2025-27408 at a Glance

CVE Identifier CVE-2025-27408
GHSA Identifier GHSA-h8h6-7752-g28c
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-759: Use of a One-Way Hash without a Salt
Affected Product Manifest
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-27408

To remediate this vulnerability, upgrade all affected Manifest dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

manifest fixed: 4.9.2
npm install manifest@4.9.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls manifest

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-27408, inspect your project dependencies using npm:

npm ls manifest

Analyze the terminal output to locate any version of Manifest in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.9.2), your application is affected.

Note: The npm ls manifest command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-759: Use of a One-Way Hash without a Salt, where the product uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the product does not also use a salt as part of the input. In Manifest, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary 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. ``` const newUser: AuthenticableEntity = entityRepository.create(signupUserDto) newUser.password = SHA3(newUser.password).toString() ``` This approach results in deterministic password hashes, which can be identified by comparing the hashes for users with matching credentials. ![password without salt](https://github.com/user-attachments/assets/8ce816ab-0351-44d4-9aa3-717266441d6e) ### 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 that affects all users of the system. The lack of a unique salt when hashing passwords reduces protection against database breaches, as attackers who gain access to the database can more efficiently crack user passwords. Since identical passwords result in identical hashes, attackers can use precomputed hash databases (e.g., Rainbow Tables) or offline brute-force attacks to reverse the hashes and obtain user passwords, increasing the risk of compromised accounts and further system exploitation.

CVE-2025-27408 Affected Manifest Versions

1 component(s)
Fixed Versions:
4.9.2
Product / Package Ecosystem Affected Versions Fixed Version
manifest
npm
< 4.9.2
4.9.2

References

Frequently Asked Questions

What is CVE-2025-27408?
CVE-2025-27408 is a security vulnerability in Manifest involving Manifest Uses a One-Way Hash without a Salt under CWE-759: Use of a One-Way Hash without a Salt.
Which Manifest versions are affected?
Affected versions include releases prior to 4.9.2 across affected packages: manifest.
What version fixes CVE-2025-27408?
Upgrading to 4.9.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is manifest affected?
Yes, manifest is affected in releases prior to 4.9.2. Upgrade your dependency to 4.9.2 or later.
What is the CVSS score of CVE-2025-27408?
CVE-2025-27408 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2025-27408?
CVE-2025-27408 is classified under CWE-759: Use of a One-Way Hash without a Salt (The product uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the product does not also use a salt as part of the input.).
How can I check npm dependencies for CVE-2025-27408?
Run the dependency tree command: 'npm ls manifest'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h8h6-7752-g28c",
  "modified" : "2025-03-04T22:23:26Z",
  "published" : "2025-03-03T19:55:33Z",
  "aliases" : [ "CVE-2025-27408" ],
  "summary" : "Manifest Uses a One-Way Hash without a Salt",
  "details" : "### Summary\nManifest 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.\n\n### Details\nAnalysis of the application source code reveals that user passwords are hashed using the SHA3 algorithm without implementing a unique salt per user.\n```\nconst newUser: AuthenticableEntity = entityRepository.create(signupUserDto)\nnewUser.password = SHA3(newUser.password).toString()\n```\nThis approach results in deterministic password hashes, which can be identified by comparing the hashes for users with matching credentials.\n\n![password without salt](https://github.com/user-attachments/assets/8ce816ab-0351-44d4-9aa3-717266441d6e)\n\n\n### PoC\n1. Create two users with the same password (it could be admin or any other authenticatable entity)\n2. Extract their password hashes from the database\n3. Verify that both hashes are identical, confirming the absence of unique salts\n\n### Impact\nThis is a cryptographic weakness vulnerability that affects all users of the system. The lack of a unique salt when hashing passwords reduces protection against database breaches, as attackers who gain access to the database can more efficiently crack user passwords. Since identical passwords result in identical hashes, attackers can use precomputed hash databases (e.g., Rainbow Tables) or offline brute-force attacks to reverse the hashes and obtain user passwords, increasing the risk of compromised accounts and further system exploitation.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "manifest"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.9.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mnfst/manifest/security/advisories/GHSA-h8h6-7752-g28c"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27408"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mnfst/manifest/commit/3ed6f1324e96ad469ad929d470dcd0cc386c6c69"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mnfst/manifest"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-759" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-03T19:55:33Z",
    "nvd_published_at" : "2025-02-28T18:15:28Z"
  }
}