
CVE catalog
CVE-2024-37298
golang-github-gorilla-schema: CVE-2024-37298
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.10% · Oct 27, 2026
gorilla/schema converts structs to and from form values. Prior to version 1.4.1 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. Any use of `schema.Decoder.Decode()` on a struct with arrays of other structs could be vulnerable to this memory exhaustion vulnerability. Version 1.4.1 contains a patch for the issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-gorilla-schema | sid | 1.4.1-1 | fixed |
| Debian | golang-github-gorilla-schema | forky | 1.4.1-1 | fixed |
| Debian | golang-github-gorilla-schema | trixie | 1.4.1-1 | fixed |
| Debian | golang-github-gorilla-schema | bookworm | 1.2.0-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-gorilla-schema | source | sid | 1.4.1-1 | not yet assigned | Not reported | [1075973] |
| Debian | golang-github-gorilla-schema | source | forky | 1.4.1-1 | not yet assigned | Not reported | [1075973] |
| Debian | golang-github-gorilla-schema | source | trixie | 1.4.1-1 | not yet assigned | Not reported | [1075973] |
| Debian | golang-github-gorilla-schema | source | bookworm | (unfixed) | not yet assigned | Not reported | [1075973] |
Notes
[bookworm] golang-github-gorilla-schema: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [golang-github-gorilla-schema-dev]Affected
Source package: [golang-github-gorilla-schema]
Details (2)
1.2.0-2· all · bookwormAffected
dsa · golang-github-gorilla-schema · debian · bookworm; dsa · golang-github-gorilla-schema · debian · 12
1.2.0-2· all · bookwormAffected
dsa · golang-github-gorilla-schema · debian · bookworm; dsa · golang-github-gorilla-schema · debian · 12
[Debian 13 (Trixie)]
Source package: [golang-github-gorilla-schema]
Details (2)
1.4.1-1· all · trixieFixed · Fixed:
1.4.1-1dsa · golang-github-gorilla-schema · debian · 13
1.4.1-1· all · trixieFixed · Fixed:
1.4.1-1dsa · golang-github-gorilla-schema · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_5258.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-37298]
- [https://security-tracker.debian.org/tracker/CVE-2024-37298]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-37298.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1709.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]