ipvs: avoid out-of-bounds write in ip_vs_nat_icmp
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 243d0187ec4c3837b9b0004f18d1068e46115760, Kernel 3b8f79af0e98f27b932b0b416e9c52b692d31ff9, Kernel 3c779b258c9c3c3567af68d4f45c2f751f35bd0e and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <243d0187ec4c3837b9b0004f18d1068e46115760, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3b8f79af0e98f27b932b0b416e9c52b692d31ff9, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3c779b258c9c3c3567af68d4f45c2f751f35bd0e, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <646922a0379496154e8c8faca4f8e2fd9100cacc, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a69a4b3fff5814d079beff9a1e9d369994b2ed47, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <be65fa324640c7a95e30b146159a2be5cc73f22e | 243d0187ec4c3837b9b0004f18d1068e46115760, 3b8f79af0e98f27b932b0b416e9c52b692d31ff9, 3c779b258c9c3c3567af68d4f45c2f751f35bd0e, 646922a0379496154e8c8faca4f8e2fd9100cacc, a69a4b3fff5814d079beff9a1e9d369994b2ed47, be65fa324640c7a95e30b146159a2be5cc73f22e |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket