netfilter: nf_nat_sip: rewind offset when NAT shrinks the packet
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f4d30e2e49f343fc28ba1e259fd22969b940c46, Kernel 16aecbe3036f6097c26b51b12e4c1cf207769690, Kernel 2703f5ea8d85bc729f433ac09ee902084c947122 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat_sip: rewind offset when NAT shrinks the packet sashiko says: If map_addr() changes the packet length, such as when the public NAT IP string is shorter or longer than the internal IP, coff will still point to the offset relative to the pre-mangled packet. If the packet shrinks, coff could overshoot the correct position, potentially causing the next ct_sip_parse_header_uri() call to silently skip bytes and miss subsequent Contact headers. Could this lead to a failure to NAT those subsequent headers and leak internal network details?
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.26, >=c978cd3a937141deaf7995b849824af6dacdeae7 <0f4d30e2e49f343fc28ba1e259fd22969b940c46, >=c978cd3a937141deaf7995b849824af6dacdeae7 <16aecbe3036f6097c26b51b12e4c1cf207769690, >=c978cd3a937141deaf7995b849824af6dacdeae7 <2703f5ea8d85bc729f433ac09ee902084c947122, >=c978cd3a937141deaf7995b849824af6dacdeae7 <668cc1c30caedc63070b10d17d5514748988a140, >=c978cd3a937141deaf7995b849824af6dacdeae7 <6828aca3d82717c2fda92af81c0dda642bc2b465, >=c978cd3a937141deaf7995b849824af6dacdeae7 <810da5a63549531da78348b0a4545042d84e01e2, >=c978cd3a937141deaf7995b849824af6dacdeae7 <c408d416618ebb8a95e3097a13f3b793ea9272ee, >=c978cd3a937141deaf7995b849824af6dacdeae7 <e70d48fcf8382581162608a4a322919bfd22aef3 | 0f4d30e2e49f343fc28ba1e259fd22969b940c46, 16aecbe3036f6097c26b51b12e4c1cf207769690, 2703f5ea8d85bc729f433ac09ee902084c947122, 668cc1c30caedc63070b10d17d5514748988a140, 6828aca3d82717c2fda92af81c0dda642bc2b465, 810da5a63549531da78348b0a4545042d84e01e2, c408d416618ebb8a95e3097a13f3b793ea9272ee, e70d48fcf8382581162608a4a322919bfd22aef3 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket