Skip to main content
Network Thinking Solutions Logo

CVE-2021-47245

In the Linux kernel, the following vulnerability has been resolved: netfilter: synproxy: Fix out of bounds when parsing TCP options The TCP option parser in synproxy (synproxy_parse_options) could read one byte out of bounds.

All CVEs
CVE-2021-47245Published 5/21/2024

In the Linux kernel, the following vulnerability has been resolved: netfilter: synproxy: Fix out of bounds when parsing TCP options The TCP option parser in synproxy (synproxy_parse_options) could read one byte out of bounds.

Vendor advisory
CVSS8.2High

Overview

In the Linux kernel, the following vulnerability has been resolved: netfilter: synproxy: Fix out of bounds when parsing TCP options The TCP option parser in synproxy (synproxy_parse_options) 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 an early return when length < 0 to avoid calling skb_header_pointer with negative length.

Published
5/21/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.12, < 4.4.274

Verify advisory

Source
linux kernel
linux
≥ 4.5, < 4.9.274

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.238

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.196

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.128

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.46

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.12.13

Verify advisory

Source
linux kernel
linux
5.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < e1eb98cfeafdd85537e7e3cefe93ca9bfbcc3ea8

Verify advisory

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < 576c1526b4d83c44ad7b673cb841f36cbc6cb6c4

Verify advisory

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < 674b5f0c6a4fc5d3abce877048290cea6091fcb1

Verify advisory

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < 7d9a9a1a88a3da574e019b4de756bc73337b3b0b

Verify advisory

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < 6defc77d48eff74075b80ad5925061b2fc010d98

Verify advisory

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < 9cdf299ba4e153b5e56187648420de22c6216f02

Verify advisory

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < f648089337cb8ed40b2bb96e244f72b9d97dc96b

Verify advisory

Source
Linux
Linux
≥ 48b1de4c110a7afa4b85862f6c75af817db26fad, < 5fc177ab759418c9537433e63301096e733fb915

Verify advisory

Source
Linux
Linux
3.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.2. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.