Linux
ipvs: avoid out-of-bounds write in ip_vs_nat_icmp
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3b8f79af0e98f27b932b0b416e9c52b692d31ff9
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3c779b258c9c3c3567af68d4f45c2f751f35bd0e
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < be65fa324640c7a95e30b146159a2be5cc73f22e
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a69a4b3fff5814d079beff9a1e9d369994b2ed47
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 243d0187ec4c3837b9b0004f18d1068e46115760
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 646922a0379496154e8c8faca4f8e2fd9100cacc
Fixed in 3b8f79af0e98f27b932b0b416e9c52b692d31ff9, 3c779b258c9c3c3567af68d4f45c2f751f35bd0e, be65fa324640c7a95e30b146159a2be5cc73f22e, a69a4b3fff5814d079beff9a1e9d369994b2ed47, 243d0187ec4c3837b9b0004f18d1068e46115760, 646922a0379496154e8c8faca4f8e2fd9100cacc
- 2.6.12
Fixed in 0, 6.1.183, 6.6.152, 6.12.104, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to 3b8f79af0e98f27b932b0b416e9c52b692d31ff9 or 3c779b258c9c3c3567af68d4f45c2f751f35bd0e or be65fa324640c7a95e30b146159a2be5cc73f22e or a69a4b3fff5814d079beff9a1e9d369994b2ed47 or 243d0187ec4c3837b9b0004f18d1068e46115760 or 646922a0379496154e8c8faca4f8e2fd9100cacc or later.
Upgrade Linux to 0 or 6.1.183 or 6.6.152 or 6.12.104 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.