# CVE-2021-20177: A flaw was found in the Linux kernel's implementation of string matching within a packet.

- Severity: Medium 4.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-02)
- Published: 2021-05-26T20:48:25.000Z
- Modified: 2026-06-17T03:33:25.347Z
- Weaknesses: CWE-125
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- kernel: kernel 5.5-rc1
- linux linux_kernel: up to 5.4.9

## Every score

- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1914719> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-20177](https://www.cve.org/CVERecord?id=CVE-2021-20177), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20177](https://nvd.nist.gov/vuln/detail/CVE-2021-20177), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20177 · Whole record: https://cve.day/CVE-2021-20177.json · Rebuilt by cve.day 2026-11-25T22:58:01.550Z
