CVE-2025-57319: Withdrawn Advisory Fast-redact Vulnerable To Prototype Pollution Vulnerability

LOW
Advisory Identifier: GHSA-ffrw-9mx8-89p8
CWE-1321
Published
Advisory Summary

CVE-2025-57319 is a LOW fast-redact vulnerable to prototype pollution vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves fast-redact vulnerable to prototype pollution. Remediation is available in the latest vendor maintenance releases.

CVE-2025-57319 at a Glance

CVE Identifier CVE-2025-57319
GHSA Identifier GHSA-ffrw-9mx8-89p8
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Withdrawn Advisory
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2025-57319

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

fast-redact fixed: Latest secure release
npm install fast-redact@Latest secure release
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 fast-redact

How to Check if You Are Affected

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

npm ls fast-redact

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

Note: The npm ls fast-redact 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-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Withdrawn Advisory, 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

## Withdrawn Advisory This advisory has been withdrawn because the issue uses an internal undocumented utility function. This link is maintained to preserve external references. ## Original Description fast-redact is a package that provides do very fast object redaction. A Prototype Pollution vulnerability in the nestedRestore function of fast-redact version 3.5.0 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.

CVE-2025-57319 Affected Withdrawn Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
fast-redact
npm
≤ 3.5.0

References

Frequently Asked Questions

What is CVE-2025-57319?
CVE-2025-57319 is a security vulnerability in Withdrawn Advisory involving fast-redact vulnerable to prototype pollution under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: fast-redact.
What version fixes CVE-2025-57319?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is fast-redact affected?
Yes, fast-redact is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-57319?
CVE-2025-57319 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.).
How can I check npm dependencies for CVE-2025-57319?
Run the dependency tree command: 'npm ls fast-redact'. 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-ffrw-9mx8-89p8",
  "modified" : "2025-11-20T17:27:56Z",
  "published" : "2025-09-24T21:30:37Z",
  "withdrawn" : "2025-11-20T17:27:56Z",
  "aliases" : [ "CVE-2025-57319" ],
  "summary" : "Withdrawn Advisory: fast-redact vulnerable to prototype pollution",
  "details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the issue uses an internal undocumented utility function. This link is maintained to preserve external references.\n\n## Original Description\n\nfast-redact is a package that provides do very fast object redaction. A Prototype Pollution vulnerability in the nestedRestore function of fast-redact version 3.5.0 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "fast-redact"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.5.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-57319"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/davidmarkclements/fast-redact/issues/75"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/VulnSageAgent/PoCs/blob/main/JavaScript/prototype-pollution/fast-redact%403.5.0/index.js"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57319"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/davidmarkclements/fast-redact"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-29T13:10:15Z",
    "nvd_published_at" : "2025-09-24T21:15:32Z"
  }
}