GHSA-33hq-fvwr-56pm: Devalue Devalue Affected By CPU And Vulnerability

LOW
CWE-770
Published
Advisory Summary

GHSA-33hq-fvwr-56pm is a LOW devalue affected by cpu and vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Devalue libraries in the npm ecosystem. The issue involves devalue affected by cpu and memory amplification from sparse arrays. Remediation is available by upgrading affected packages to version 5.6.3.

GHSA-33hq-fvwr-56pm at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-33hq-fvwr-56pm
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Devalue
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-33hq-fvwr-56pm

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

devalue fixed: 5.6.3
npm install devalue@5.6.3
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 devalue

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-33hq-fvwr-56pm, inspect your project dependencies using npm:

npm ls devalue

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

Note: The npm ls devalue 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Devalue, 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

Under certain circumstances, serializing sparse arrays using `uneval` or `stringify` could cause CPU and/or memory exhaustion. When this occurs on the server, it results in a DoS. This is extremely difficult to take advantage of in practice, as an attacker would have to manage to create a sparse array on the server — which is impossible in every mainstream wire format — and then that sparse array would have to be run through `uneval` or `stringify`.

GHSA-33hq-fvwr-56pm Affected Devalue Versions

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

References

Frequently Asked Questions

What is GHSA-33hq-fvwr-56pm?
GHSA-33hq-fvwr-56pm is a security vulnerability in Devalue involving devalue affected by CPU and memory amplification from sparse arrays under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Devalue versions are affected?
Affected versions include releases prior to 5.6.3 across affected packages: devalue.
What version fixes GHSA-33hq-fvwr-56pm?
Upgrading to 5.6.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is devalue affected?
Yes, devalue is affected in releases prior to 5.6.3. Upgrade your dependency to 5.6.3 or later.
What CWE is associated with GHSA-33hq-fvwr-56pm?
GHSA-33hq-fvwr-56pm is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check npm dependencies for GHSA-33hq-fvwr-56pm?
Run the dependency tree command: 'npm ls devalue'. 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-33hq-fvwr-56pm",
  "modified" : "2026-02-19T20:29:30Z",
  "published" : "2026-02-19T20:29:30Z",
  "aliases" : [ ],
  "summary" : "devalue affected by CPU and memory amplification from sparse arrays",
  "details" : "Under certain circumstances, serializing sparse arrays using `uneval` or `stringify` could cause CPU and/or memory exhaustion. When this occurs on the server, it results in a DoS. This is extremely difficult to take advantage of in practice, as an attacker would have to manage to create a sparse array on the server — which is impossible in every mainstream wire format — and then that sparse array would have to be run through `uneval` or `stringify`.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "devalue"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.6.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.6.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/devalue/security/advisories/GHSA-33hq-fvwr-56pm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/devalue/commit/819f1ac7475ab37547645cfb09bf2f678a799cf0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sveltejs/devalue"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sveltejs/devalue/releases/tag/v5.6.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-19T20:29:30Z",
    "nvd_published_at" : null
  }
}