netfilter: nf_conntrack_h323: fix OOB read in decode_int() CONS case
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.78, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in a2cd54b9348e485d338b3c132338a4410c99afaf; From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in c95dc674ebf01ecfb40388b6facfc89b81fed3b7; From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in 41b417ff73a24b2c68134992cc44c88db27f482d; From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in 52235bf88159a1ef16434ab49e47e99c8a09ab20; From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in 774a434f8c9c8602a976b2536f65d0172a07f4d2; From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in 6bce72daeccca9aa1746e92d6c3d4784e71f2ebb; From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in fb6c3596823ec5dd09c2123340330d7448f51a59; From 5e35941d990123f155b02d5663e51a24f816b6f3 · fixed in 1e3a3593162c96e8a8de48b1e14f60c3b57fca8a
- Linux Linux
2.6.17
- KernelLinux
From 2.6.17 · fixed in 5.10.253; From 5.11.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.167; From 6.2.0 · fixed in 6.6.130; From 6.7.0 · fixed in 6.12.78; From 6.13.0 · fixed in 6.18.20; From 6.19.0 · fixed in 6.19.10
References 8
git.kernel.org
- stable/c/a2cd54b9348e485d338b3c132338a4410c99afaf
- stable/c/c95dc674ebf01ecfb40388b6facfc89b81fed3b7
- stable/c/41b417ff73a24b2c68134992cc44c88db27f482d
- stable/c/52235bf88159a1ef16434ab49e47e99c8a09ab20
- stable/c/774a434f8c9c8602a976b2536f65d0172a07f4d2
- stable/c/6bce72daeccca9aa1746e92d6c3d4784e71f2ebb
- stable/c/fb6c3596823ec5dd09c2123340330d7448f51a59
- stable/c/1e3a3593162c96e8a8de48b1e14f60c3b57fca8a