🔍 CVE-2022-50213

7.8
CVSS Score
HIGH
2025-06-18
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 netfilter nf_tables 구성 요소에서 발생하는 취약점으로, 세트 ID를 사용하여 조회할 때 다른 테이블의 세트를 참조할 수 있는 문제가 있습니다. 이로 인해 테이블 삭제 시 세트가 해제된 후에도 참조가 유지되어 Use-After-Free(UAF) 취약점이 발생할 수 있습니다.

💡 쉬운 설명

네트워크 규칙을 관리하는 시스템에서 서로 다른 규칙 그룹 간의 경계가 무너져 발생하는 문제입니다. 이 허점을 이용하면 이미 삭제된 데이터를 다시 건드려 시스템을 중단시키거나 해킹에 악용할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not allow SET_ID to refer to another table When doing lookups for sets on the same batch by using its ID, a set from a different table can be used. Then, when the table is removed, a reference to the set may be kept after the set is freed, leading to a potential use-after-free. When looking for sets by ID, use the table that was used for the lookup by name, and only return sets belonging to that same table. This fixes CVE-2022-2586, also reported as ZDI-CAN-17470.

📍 영향받는 시스템

Linux kernel (nf_tables 구성 요소가 포함된 버전)

⚔️ 공격 벡터

조작된 배치(batch) 요청을 통해 다른 테이블의 세트 ID를 참조하도록 유도하여 메모리 오류 유발

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel