CVE catalog

CVE-2024-37298

golang-github-gorilla-schema: CVE-2024-37298

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiangolang-github-gorilla-schemasid1.4.1-1fixed
Debiangolang-github-gorilla-schemaforky1.4.1-1fixed
Debiangolang-github-gorilla-schematrixie1.4.1-1fixed
Debiangolang-github-gorilla-schemabookworm1.2.0-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-github-gorilla-schemasourcesid1.4.1-1not yet assignedNot reported[1075973]
Debiangolang-github-gorilla-schemasourceforky1.4.1-1not yet assignedNot reported[1075973]
Debiangolang-github-gorilla-schemasourcetrixie1.4.1-1not yet assignedNot reported[1075973]
Debiangolang-github-gorilla-schemasourcebookworm(unfixed)not yet assignedNot reported[1075973]

[Debian bug #1075973]

Notes

[bookworm] golang-github-gorilla-schema: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-github-gorilla-schema]

    Details (2)
    • 1.2.0-2 · all · bookworm

      Affected

      dsa · golang-github-gorilla-schema · debian · bookworm; dsa · golang-github-gorilla-schema · debian · 12

    • 1.2.0-2 · all · bookworm

      Affected

      dsa · golang-github-gorilla-schema · debian · bookworm; dsa · golang-github-gorilla-schema · debian · 12

[Debian 13 (Trixie)]

Observed:

References