npm package report

Is github.com/gorilla/schema safe?

1 known vulnerability, worst severity HIGH.

cvss
7.5

how bad it is if exploited, out of 10

epss
1.1%

chance of exploitation in the next 30 days

xyz score
3.6

CyberXYZ composite, out of 10

fig. 01 — GHSA-3669-72x9-r9p3, the advisory selected below

// advisories

GHSA-3669-72x9-r9p3

HIGHCVE-2024-37298

Running schema.Decoder.Decode() on a struct that has a field of type []struct{...} opens it up to malicious attacks regarding memory allocations, taking advantage of the sparse slice functionality. For instance, in the Proof of Concept written below, someone can specify to set a field of the billionth element and it will allocate all other elements before it in the slice.

Affected
>=0, <1.4.1
Fixed in
1.4.1
Published
2024-07-01
Source
github

GHSANVDMITRE


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 00:38 UTC. The most recent advisory here was published 2024-07-01. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is github.com/gorilla/schema safe? npm package security report | CyberXYZ