p PatchFirst

CVE-2026-77354

CVE-2026-77354 · kin-openapi: Uncontrolled resource consumption in openapi3filter deepObject query parameter decoding

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

kin-openapi is a Go project for handling OpenAPI files. From 0.124.0 until 0.142.0, openapi3filter.sliceMapToSlice in openapi3filter/req_resp_decoder.go converts attacker-controlled sparse indexes from a deepObject query parameter into a dense slice by allocating entries from zero through the largest supplied index, after which buildResObj creates another slice of the same length. This allocation occurs before schema validation, so maxItems does not prevent it. An unauthenticated client can send a small query such as param[items][50000000]=x to an endpoint whose deepObject schema contains an array, forcing multi-gigabyte heap allocation and causing an OOM kill or restart loop. Other request-body encodings and styled parameters that do not produce bracketed integer indexes are not affected. This issue is fixed in version 0.142.0.

CVSS 8.7 · Élevée · EPSS 0,5%

Publication
Mise à jour

Pile logicielle: system

Produits et versions concernés

  • kin-openapi

    Versions du logiciel
    • >= 0.124.0, < 0.142.0: Concernée

    Aucun correctif publié

  • golang-github-getkin-kin-openapi Debian:12

    Versions du logiciel
    • 0.110.0-1
    • 0.117.0-1
    • 0.118.0-1
    • 0.120.0-1
    • 0.122.0-1
    • 0.122.0-2
    • 0.122.0-3
    • 0.123.0-1
    • 0.124.0-1
    • 0.135.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-getkin-kin-openapi Debian:13

    Versions du logiciel
    • 0.124.0-1
    • 0.135.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-getkin-kin-openapi Debian:14

    Versions du logiciel
    • 0.124.0-1
    • 0.135.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-getkin-kin-openapi Ubuntu:22.04:LTS

    Versions du logiciel
    • 0.32.0-2
    • 0.80.0-1
    • 0.85.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-getkin-kin-openapi Ubuntu:24.04:LTS

    Versions du logiciel
    • 0.117.0-1
    • 0.120.0-1
    • 0.122.0-3
    • 0.123.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-getkin-kin-openapi Ubuntu:26.10

    Versions du logiciel
    • 0.124.0-1
    • 0.135.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

  • golang-github-getkin-kin-openapi Ubuntu:26.04:LTS

    Versions du logiciel
    • 0.124.0-1
    Plages de versions concernées
    • ECOSYSTEM: (−∞, +∞)

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →