netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset
NIST has received this entry but not started reviewing it.
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: avoid truncating IPv6 nexthdr offset find_prev_fhdr() returns the offset of the Next Header field before an IPv6 Fragment header through an int pointer, but stores the offset in a u8 local. An extension header chain can put this field beyond byte 255, causing the offset to wrap before it is saved in the fragment queue. Reassembly later uses the wrapped value to update the preceding Next Header field. This overwrites another byte in the IPv6 header chain and can make conntrack parse a different transport tuple from the one used by IPv6 local delivery. A two-fragment packet can, for example, be recorded as UDP destination port 53 while its payload is delivered to UDP port 9999. Use int for the working offset, matching the output argument and the other offset variables in this path.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1, before c540c1de02e9bc08a9880cee39a4757ef23365c9; from 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1, before 150100520016209a46a0419edc41d1c94ebc7f66; from 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1, before 6448b59ff3c83d9f4edc73c082eab7989ebe8e57; from 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1, before 3468d5cb0cbfdc4b1bfa3d5e7ed8ed50c7ac9f5a; from 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1, before 55cd1d227de0caa8ab5e0440c2701d3b438d3fb6; from 9fb9cbb1082d6b31fb45aa1a14432449a0df6cf1, before c6168a32eb25ec8f35e894c3851b87a013fd5b42; and 2 more | c540c1de02e9bc08a9880cee39a4757ef23365c9; 150100520016209a46a0419edc41d1c94ebc7f66; 6448b59ff3c83d9f4edc73c082eab7989ebe8e57; 3468d5cb0cbfdc4b1bfa3d5e7ed8ed50c7ac9f5a |
| Linux Linux | Software | 2.6.15 | not recorded |
The 9.1 severity score (critical) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | None | The service keeps running. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.2 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 8 sources for this flaw, none tagged as a vendor patch.