2084AI 安全观察

CVE

CVE-2021-47243

CVE-2021-47243HIGH 7.1EPSS 18%

CNA 原文 · 原文(英文)

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.

受影响版本

Linux kernel 的全部漏洞 →

  • 5.13-rc6仅此版本
  • 5.13-rc5仅此版本
  • 5.13-rc4仅此版本
  • 5.13-rc3仅此版本
  • 5.13-rc2仅此版本
  • 5.13-rc1仅此版本
  • ≥ 5.11, < 5.12.13修复版本 5.12.13
  • ≥ 5.5, < 5.10.46修复版本 5.10.46
  • ≥ 4.20, < 5.4.128修复版本 5.4.128
  • ≥ 4.19, < 4.19.196修复版本 4.19.196

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。