🔍 CVE-2021-4037

4.4
CVSS Score
MEDIUM
2022-08-24
2026-10-14 11:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 fs/inode.c:inode_init_owner() 함수 로직에서 결함이 발견되었습니다. 특정 조건에서 XFS 파일 시스템을 사용하는 로컬 사용자가 의도하지 않은 그룹 소유권과 실행 및 SGID 권한이 설정된 파일을 생성할 수 있습니다. 이는 권한이 과도하게 부여되는 결과를 초래할 수 있습니다.

💡 쉬운 설명

파일을 만들 때 원래는 권한이 제한되어야 하는데, 특정 상황에서 권한이 너무 많이 부여되는 보안 허점이 있습니다. 이를 통해 사용자가 허용되지 않은 그룹의 권한을 가질 수 있게 됩니다.

🇺🇸 원문 (English)

A vulnerability was found in the fs/inode.c:inode_init_owner() function logic of the LInux kernel that allows local users to create files for the XFS file-system with an unintended group ownership and with group execution and SGID permission bits set, in a scenario where a directory is SGID and belongs to a certain group and is writable by a user who is not a member of this group. This can lead to excessive permissions granted in case when they should not. This vulnerability is similar to the previous CVE-2018-13405 and adds the missed fix for the XFS.

📍 영향받는 시스템

XFS 파일 시스템을 사용하는 Linux 커널 (CVE-2018-13405와 유사한 취약점 포함)

⚔️ 공격 벡터

로컬 사용자 권한을 이용한 파일 생성 및 권한 상승 시도

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 최신 패치 버전인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel