netfilter: x_tables: guard option walkers against 1-byte tail reads
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: guard option walkers against 1-byte tail reads When the last byte of options is a non-single-byte option kind, walkers that advance with i += op[i + 1] ? : 1 can read op[i + 1] past the end of the option area. Add an explicit i == optlen - 1 check before dereferencing op[i + 1] in xt_tcpudp and xt_dccp option walkers.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in c2a445367a496a3c25dbc940c10c8bd1cfd4c14a; From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in ae1e1267650638136b84c23f2b31250f0ccb6823; From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in c39f84e4be1be63fc60ca7141ea7b76edcea5907; From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in 9b94f0e42ed248eb31929da84ed9f5310d7ff540; From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in 5b18b8b35c7cded2d17b2b2604c9b0694ff48d1c; From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in bc18551c6169eac5ed813778d3e3e484002dbbe5; From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in d04800323336eebf441d153f43234eac9b833d36; From 2e4e6a17af35be359cc8f1c924f8f198fbd478cc · fixed in cfe770220ac2dbd3e104c6b45094037455da81d4
- Linux Linux
2.6.16
- KernelLinux
From 2.6.16 · fixed in 5.10.253; From 5.11.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.167; From 6.2.0 · fixed in 6.6.130; From 6.7.0 · fixed in 6.12.78; From 6.13.0 · fixed in 6.18.19; From 6.19.0 · fixed in 6.19.9
References 8
git.kernel.org
- stable/c/c2a445367a496a3c25dbc940c10c8bd1cfd4c14a
- stable/c/ae1e1267650638136b84c23f2b31250f0ccb6823
- stable/c/c39f84e4be1be63fc60ca7141ea7b76edcea5907
- stable/c/9b94f0e42ed248eb31929da84ed9f5310d7ff540
- stable/c/5b18b8b35c7cded2d17b2b2604c9b0694ff48d1c
- stable/c/bc18551c6169eac5ed813778d3e3e484002dbbe5
- stable/c/d04800323336eebf441d153f43234eac9b833d36
- stable/c/cfe770220ac2dbd3e104c6b45094037455da81d4