Advisory

DEBIAN-CVE-2024-37298

Also known as: CVE-2024-37298

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2024-07-01 19:15 UTC
Modified
2026-11-02 12:02 UTC

Affected packages and fixes

golang-github-gorilla-schema

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-gorilla-schema

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.4.1-1 (ecosystem)

Fixed versions

1.4.1-1

Fix

  • Fixed version 1.4.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-gorilla-schema

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.4.1-1 (ecosystem)

Fixed versions

1.4.1-1

Fix

  • Fixed version 1.4.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences