{"schema":"threatline.record/2","record":{"id":"GHSA-wf3x-273g-mvxv","aliases":["GHSA-wf3x-273g-mvxv"],"summary":"devalue: Sparse arrays emitted by uneval cause eager allocation when evaluated","details":"Evaluating legitimate `uneval` output for a sparse array can allocate memory proportional to its declared length. A tiny serialized value can therefore cause large memory allocation in a consuming browser/runtime. This occurs during evaluation of generated code, not in default `parse` sparse-array construction.\n\nYou would only be affected by this if you were serializing very large sparse arrays and then evaluating the results. In the general use case for `uneval` of sending data to the client, the worst that could happen is the browser tab running out of memory.","categories":["Libraries & packages"],"product":"devalue","vendor":"","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-wf3x-273g-mvxv","source_modified_at":"2026-10-01T15:17:16Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"devalue"},"range":">= 1.0.0, <= 5.9.2"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wf3x-273g-mvxv","source_modified_at":"2026-10-01T15:30:13.280047533Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"devalue","ecosystem":"npm","purl":"pkg:npm/devalue"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"5.9.3"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-wf3x-273g-mvxv","source_modified_at":"2026-10-01T15:17:16Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"devalue"},"version":"5.9.3"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-wf3x-273g-mvxv","source_modified_at":"2026-10-01T15:30:13.280047533Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"devalue","ecosystem":"npm","purl":"pkg:npm/devalue"},"version":"5.9.3"}],"cvss":2.3,"severity":"Low","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-01T15:17:13Z","modified_at":"2026-10-01T15:30:13.280047533Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-wf3x-273g-mvxv","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-01T15:17:16Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-wf3x-273g-mvxv","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-01T15:30:13.280047533Z"}],"sources":["GitHub Advisory Database","OSV"],"references":[{"url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-wf3x-273g-mvxv","source":"GitHub Advisory Database"},{"url":"https://github.com/sveltejs/devalue/commit/6861dbbb7e548849e48bce718e88747a298f7250","source":"GitHub Advisory Database"},{"url":"https://github.com/sveltejs/devalue/releases/tag/v5.9.3","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-wf3x-273g-mvxv","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-01T15:30:13.280047533Z","content_hash":"0f492088fcc2281c8acf3c7b9305922b2c3230abd9af0b90a12a3b8348811b7e"}}
