Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ipvs: avoid out-of-bounds write in ip_vs_nat_icmp Sashiko warns that local attacker can modify the packet while it is processed by IPVS. Some places read the IP ihl field multiple times which can cause out-of-bounds access. One such place is ip_vs_nat_icmp where we can write after the validated area. Fix it by providing ciph argument just like it is done for IPv6 and use ciph->len as offset to the embedded transport header. Modify some IPv4 header checks by reading the ihl field only once.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3b8f79af0e98f27b932b0b416e9c52b692d31ff9; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3c779b258c9c3c3567af68d4f45c2f751f35bd0e; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before be65fa324640c7a95e30b146159a2be5cc73f22e; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a69a4b3fff5814d079beff9a1e9d369994b2ed47; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 243d0187ec4c3837b9b0004f18d1068e46115760; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 646922a0379496154e8c8faca4f8e2fd9100cacc |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 6.1.183 through 6.1.*; unaffected 6.6.152 through 6.6.*; unaffected 6.12.104 through 6.12.*; unaffected 6.18.45 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3b8f79af0e98f27b932b0b416e9c52b692d31ff9
- https://git.kernel.org/stable/c/3c779b258c9c3c3567af68d4f45c2f751f35bd0e
- https://git.kernel.org/stable/c/be65fa324640c7a95e30b146159a2be5cc73f22e
- https://git.kernel.org/stable/c/a69a4b3fff5814d079beff9a1e9d369994b2ed47
- https://git.kernel.org/stable/c/243d0187ec4c3837b9b0004f18d1068e46115760
- https://git.kernel.org/stable/c/646922a0379496154e8c8faca4f8e2fd9100cacc
ADP enrichment
No English description supplied.
No references supplied.