netfilter: nf_conntrack_h323: fix OOB read in decode_int() CONS case
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 5.10.253, Kernel 5.15.203, Kernel 6.1.167 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_h323: fix OOB read in decode_int() CONS case In decode_int(), the CONS case calls get_bits(bs, 2) to read a length value, then calls get_uint(bs, len) without checking that len bytes remain in the buffer. The existing boundary check only validates the 2 bits for get_bits(), not the subsequent 1-4 bytes that get_uint() reads. This allows a malformed H.323/RAS packet to cause a 1-4 byte slab-out-of-bounds read. Add a boundary check for len bytes after get_bits() and before get_uint().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.17 <5.10.253, >=5.11 <5.15.203, >=5.16 <6.1.167, >=6.13 <6.18.20, >=6.19 <6.19.10, >=6.2 <6.6.130, >=6.7 <6.12.78, =7.0, >=5e35941d990123f155b02d5663e51a24f816b6f3 <41b417ff73a24b2c68134992cc44c88db27f482d, >=5e35941d990123f155b02d5663e51a24f816b6f3 <52235bf88159a1ef16434ab49e47e99c8a09ab20, >=5e35941d990123f155b02d5663e51a24f816b6f3 <6bce72daeccca9aa1746e92d6c3d4784e71f2ebb, >=5e35941d990123f155b02d5663e51a24f816b6f3 <774a434f8c9c8602a976b2536f65d0172a07f4d2, >=5e35941d990123f155b02d5663e51a24f816b6f3 <a2cd54b9348e485d338b3c132338a4410c99afaf, >=5e35941d990123f155b02d5663e51a24f816b6f3 <c95dc674ebf01ecfb40388b6facfc89b81fed3b7, >=5e35941d990123f155b02d5663e51a24f816b6f3 <fb6c3596823ec5dd09c2123340330d7448f51a59, =2.6.17, >=5e35941d990123f155b02d5663e51a24f816b6f3 <1e3a3593162c96e8a8de48b1e14f60c3b57fca8a | 5.10.253, 5.15.203, 6.1.167, 6.18.20, 6.19.10, 6.6.130, 6.12.78, 41b417ff73a24b2c68134992cc44c88db27f482d, 52235bf88159a1ef16434ab49e47e99c8a09ab20, 6bce72daeccca9aa1746e92d6c3d4784e71f2ebb, 774a434f8c9c8602a976b2536f65d0172a07f4d2, a2cd54b9348e485d338b3c132338a4410c99afaf, c95dc674ebf01ecfb40388b6facfc89b81fed3b7, fb6c3596823ec5dd09c2123340330d7448f51a59, 1e3a3593162c96e8a8de48b1e14f60c3b57fca8a |
| linux-kernel: Kernel | >=2.6.17 <5.10.253, >=5.11.0 <5.15.203, >=5.16.0 <6.1.167, >=6.13.0 <6.18.20, >=6.19.0 <6.19.10, >=6.2.0 <6.6.130, >=6.7.0 <6.12.78 | 5.10.253, 5.15.203, 6.1.167, 6.18.20, 6.19.10, 6.6.130, 6.12.78 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket