---
title: "CVE-2021-20177"
canonical_url: "https://pkgseek.com/security/CVE-2021-20177"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-20177

A flaw was found in the Linux kernel's implementation of string matching within a packet. A privileged user (with root or CAP_NET_ADMIN) when inserting iptables rules could insert a rule which can panic the system. Kernel before kernel 5.5-rc1 is affected.

CVE-2021-20177 严重级别为 MEDIUM (4.4)，共索引 64 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (4.4)
- **受影响构建数**: 64
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | linux-aws-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-aws-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-azure-cloud-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-azure-headers-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-azure-tools-5.4.0-1010 | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1033.34 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-buildinfo-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-buildinfo-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-cloud-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-cloud-tools-common | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-doc | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-gcp-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-gcp-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-headers-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-headers-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-headers-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1033.34 |
| Ubuntu | focal | linux-headers-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-headers-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-headers-5.4.0-26 | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-headers-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-headers-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-image-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-image-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1033.34 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-image-unsigned-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-kvm-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1033.34 |
| Ubuntu | focal | linux-kvm-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1033.34 |
| Ubuntu | focal | linux-libc-dev | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-modules-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-modules-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-modules-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1033.34 |
| Ubuntu | focal | linux-modules-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-modules-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-modules-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-modules-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-modules-extra-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-modules-extra-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-oracle-headers-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-oracle-tools-5.4.0-1009 | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-riscv-headers-5.4.0-24 | 5.4.0-24.28 | — |
| Ubuntu | focal | linux-source-5.4.0 | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-tools-5.4.0-1009-aws | 5.4.0-1009.9 | 5.4.0-1038.40 |
| Ubuntu | focal | linux-tools-5.4.0-1009-gcp | 5.4.0-1009.9 | 5.4.0-1037.40 |
| Ubuntu | focal | linux-tools-5.4.0-1009-kvm | 5.4.0-1009.9 | 5.4.0-1033.34 |
| Ubuntu | focal | linux-tools-5.4.0-1009-oracle | 5.4.0-1009.9 | 5.4.0-1038.41 |
| Ubuntu | focal | linux-tools-5.4.0-1010-azure | 5.4.0-1010.10 | 5.4.0-1040.42 |
| Ubuntu | focal | linux-tools-5.4.0-26 | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-tools-5.4.0-26-generic | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-tools-5.4.0-26-lowlatency | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-tools-common | 5.4.0-26.30 | 5.4.0-66.74 |
| Ubuntu | focal | linux-tools-host | 5.4.0-26.30 | 5.4.0-66.74 |
