Linux Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 취약점
In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: remove sprintf usage Replace it with scnprintf, the buffer sizes are expected to be large enough to hold the result, no need for snprintf+overflow check. Increase buffer size in mangle_content_len() while at it. BUG: KASAN: stack-out-of-bounds in vsnprintf+0xea5/0x1270 Write of size 1 at addr [..] vsnprintf+0xea5/0x1270 sprintf+0xb1/0xe0 mangle_content_len+0x1ac/0x280 nf_nat_sdp_session+0x1cc/0x240 process_sdp+0x8f8/0xb80 process_invite_request+0x108/0x2b0 process_sip_msg+0x5da/0xf50 sip_help_tcp+0x45e...
In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: remove sprintf usage Replace it with scnprintf, the buffer sizes are expected to be large enough to hold the result, no need for snprintf+overflow check. Increase buffer size in mangle_content_len() while at it. BUG: KASAN: stack-out-of-bounds in vsnprintf+0xea5/0x1270 Write of size 1 at addr [..] vsnprintf+0xea5/0x1270 sprintf+0xb1/0xe0 mangle_content_len+0x1ac/0x280 nf_nat_sdp_session+0x1cc/0x240 process_sdp+0x8f8/0xb80 process_invite_request+0x108/0x2b0 process_sip_msg+0x5da/0xf50 sip_help_tcp+0x45e...
영향 제품·버전
제품 Linux Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6
영향 버전 Linux Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 >= 9fafcd7b203229c3f3893a475741afc27e276306 < 2f793ba78470a99f40389b7dc60a81d9f5ad3956, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 6bbf829b4c1b44c941c47dd0d710f1393258f3d5, >= 9fafcd7b203229c3f3893a475741afc27e276306 < ab64e61c9323fa6de21bd20da1ddb29a0fb65d34, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 1c9fb8aeed06790d42cdcd00f6c3ce0b9e926c1e, >= 9fafcd7b203229c3f3893a475741afc27e276306 < a8e0a32a23d3f34862af3b4da792ecb3a891a9a3, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 8e3be0d12615a173fe260cd42753ca7a001acbf2, >= 9fafcd7b203229c3f3893a475741afc27e276306 < c08ff52e44945e6ef4ce0790f49ea761b060c45b, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 6e7066bdb481a87fe88c4fa563e348c03b2d373d, >= 2.6.20, >= 2.6.20 < 5.10.258, >= 5.11 < 5.15.209, >= 5.16 < 6.1.175, >= 6.2 < 6.6.141, >= 6.7 < 6.12.91, >= 6.13 < 6.18.33, >= 6.19 < 7.0.10, 7.0, 8.0, 9.0, 10.0
수정 버전 Linux Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10
Linux Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6의 현재 전체 버전이 공식 영향 범위(Linux Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 >= 9fafcd7b203229c3f3893a475741afc27e276306 < 2f793ba78470a99f40389b7dc60a81d9f5ad3956, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 6bbf829b4c1b44c941c47dd0d710f1393258f3d5, >= 9fafcd7b203229c3f3893a475741afc27e276306 < ab64e61c9323fa6de21bd20da1ddb29a0fb65d34, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 1c9fb8aeed06790d42cdcd00f6c3ce0b9e926c1e, >= 9fafcd7b203229c3f3893a475741afc27e276306 < a8e0a32a23d3f34862af3b4da792ecb3a891a9a3, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 8e3be0d12615a173fe260cd42753ca7a001acbf2, >= 9fafcd7b203229c3f3893a475741afc27e276306 < c08ff52e44945e6ef4ce0790f49ea761b060c45b, >= 9fafcd7b203229c3f3893a475741afc27e276306 < 6e7066bdb481a87fe88c4fa563e348c03b2d373d, >= 2.6.20, >= 2.6.20 < 5.10.258, >= 5.11 < 5.15.209, >= 5.16 < 6.1.175, >= 6.2 < 6.6.141, >= 6.7 < 6.12.91, >= 6.13 < 6.18.33, >= 6.19 < 7.0.10, 7.0, 8.0, 9.0, 10.0)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
조치방안
제3자 참조와 수정 버전 값(5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10)은 보조 근거로만 사용하고, 공급사 공식 보안 권고에서 조치 기준을 재확인합니다.
조치 후 확인사항
패치 후 같은 명령으로 전체 버전을 다시 확인해 Linux Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10 기준을 충족하는지 확인합니다. 이어서 메모리 손상 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.