1. Accueil
  2. Vulnérabilités
  3. CVE-2021-47243

CVE-2021-47243

In the Linux kernel, the following vulnerability has been resolved: sch_cake: Fix out of bounds when parsing…

Publiée le 21 mai 2024 · modifiée le 4 août 2026 · Sources : NVD, EPSS (FIRST)

Faible 33/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: sch_cake: Fix out of bounds when parsing TCP options and header The TCP option parser in cake qdisc (cake_get_tcpopt and cake_tcph_may_drop) could read one byte out of bounds. When the length is 1, the execution flow gets into the loop, reads one byte of the opcode, and if the opcode is neither TCPOPT_EOL nor TCPOPT_NOP, it reads one more byte, which exceeds the length of 1. This fix is inspired by commit 9609dad263f8 ("ipv4: tcp_input: fix stack out of bounds when parsing TCP options."). v2 changes: Added doff validation in cake_get_tcphdr to avoid parsing garbage as TCP header. Although it wasn't strictly an out-of-bounds access (memory was allocated), garbage values could be read where CAKE expected the TCP header if doff was smaller than 5.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (5 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 4.19 (inclus) à 4.19.196 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.128 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.46 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.12.13 (exclu) — NVD
Linux kernel 5.13 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-125 · Corruption mémoire

Comment sont obtenues et calculées ces données