🔍 CVE-2022-50212

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

🇰🇷 한글 설명

Linux 커널의 netfilter nf_tables 구성 요소에서 체인 ID를 통해 다른 테이블의 체인을 참조할 수 있는 취약점이 발견되었습니다. 이로 인해 서로 다른 테이블 간의 규칙이 잘못 연결될 수 있으며, 특정 테이블이 삭제될 때 메모리 해제 후 재사용(Use-After-Free) 오류가 발생할 수 있습니다.

💡 쉬운 설명

서로 다른 규칙 주머니 사이에서 규칙이 엉뚱하게 연결되는 문제입니다. 이로 인해 규칙 주머니를 삭제할 때 컴퓨터 메모리 관리 오류가 발생하여 시스템이 불안정해지거나 해킹에 이용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not allow CHAIN_ID to refer to another table When doing lookups for chains on the same batch by using its ID, a chain from a different table can be used. If a rule is added to a table but refers to a chain in a different table, it will be linked to the chain in table2, but would have expressions referring to objects in table1. Then, when table1 is removed, the rule will not be removed as its linked to a chain in table2. When expressions in the rule are processed or removed, that will lead to a use-after-free. When looking for chains by ID, use the table that was used for the lookup by name, and only return chains belonging to that same table.

📍 영향받는 시스템

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

⚔️ 공격 벡터

서로 다른 테이블의 체인을 참조하는 규칙을 생성하여 메모리 해제 후 재사용(Use-After-Free) 유도

🛡️ 대응 방법

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