🇰🇷 한글 설명
Imaging Data Commons의 libdicom 1.0.5 버전 내 DICOM 요소 파싱 과정에서 Use-After-Free 취약점이 발견되었습니다. 공격자가 특수하게 제작된 DICOM 파일을 통해 parse_meta_sequence_end() 함수에서 메모리를 조기 해제하도록 유도할 수 있습니다.
💡 쉬운 설명
프로그램이 이미 사용이 끝났다고 판단해 버린 메모리 공간을 나중에 다시 사용하려고 할 때 발생하는 오류입니다. 악의적으로 만들어진 의료 영상 파일을 열기만 해도 프로그램이 비정상적으로 작동하거나 해킹될 위험이 있습니다.
🇺🇸 원문 (English)
A use-after-free vulnerability exists in the DICOM Element Parsing as implemented in Imaging Data Commons libdicom 1.0.5. A specially crafted DICOM file can cause premature freeing of memory that is used later. To trigger this vulnerability, an attacker would need to induce the vulnerable application to process a malicious DICOM image.The Use-After-Free happens in the `parse_meta_sequence_end()` parsing the Sequence Value Represenations.
📍 영향받는 시스템
Imaging Data Commons libdicom 1.0.5 및 해당 라이브러리를 사용하는 시스템
⚔️ 공격 벡터
취약한 애플리케이션이 악의적으로 조작된 DICOM 이미지 파일을 처리하도록 유도
🛡️ 대응 방법
libdicom 라이브러리를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 결과에서 libdicom의 버전이 1.0.5인지 확인하여 취약 여부를 판단합니다.
dpkg -l | grep libdicom 2>/dev/null || rpm -qa | grep libdicom