Linux
netfilter: nf_conntrack_h323: fix OOB read in decode_int() CONS case
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < a2cd54b9348e485d338b3c132338a4410c99afaf
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < c95dc674ebf01ecfb40388b6facfc89b81fed3b7
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < 41b417ff73a24b2c68134992cc44c88db27f482d
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < 52235bf88159a1ef16434ab49e47e99c8a09ab20
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < 774a434f8c9c8602a976b2536f65d0172a07f4d2
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < 6bce72daeccca9aa1746e92d6c3d4784e71f2ebb
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < fb6c3596823ec5dd09c2123340330d7448f51a59
- >= 5e35941d990123f155b02d5663e51a24f816b6f3, < 1e3a3593162c96e8a8de48b1e14f60c3b57fca8a
Fixed in a2cd54b9348e485d338b3c132338a4410c99afaf, c95dc674ebf01ecfb40388b6facfc89b81fed3b7, 41b417ff73a24b2c68134992cc44c88db27f482d, 52235bf88159a1ef16434ab49e47e99c8a09ab20, 774a434f8c9c8602a976b2536f65d0172a07f4d2, 6bce72daeccca9aa1746e92d6c3d4784e71f2ebb, fb6c3596823ec5dd09c2123340330d7448f51a59, 1e3a3593162c96e8a8de48b1e14f60c3b57fca8a
- 2.6.17
Fixed in 0, 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10, 7.0
Mitigation
Upgrade Linux to a2cd54b9348e485d338b3c132338a4410c99afaf or c95dc674ebf01ecfb40388b6facfc89b81fed3b7 or 41b417ff73a24b2c68134992cc44c88db27f482d or 52235bf88159a1ef16434ab49e47e99c8a09ab20 or 774a434f8c9c8602a976b2536f65d0172a07f4d2 or 6bce72daeccca9aa1746e92d6c3d4784e71f2ebb or fb6c3596823ec5dd09c2123340330d7448f51a59 or 1e3a3593162c96e8a8de48b1e14f60c3b57fca8a or later.
Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 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.