🔍 CVE-2026-40319

5.5
CVSS Score
MEDIUM
2026-04-17
2026-10-25 23:10
✅ 완료

🇰🇷 한글 설명

Giskard AI 모델 테스팅 프레임워크의 1.0.2b1 이전 버전에서 RegexMatching 체크가 사용자 입력 정규식을 제어 없이 Python의 re.search()에 전달합니다. 악의적인 정규식 패턴은 정규식 재앙적 백트래킹을 유발하여 프로세스를 무한정 중단시킬 수 있으며, 체크 정의 쓰기 권한 보유자에 의해 악용될 수 있습니다.

💡 쉬운 설명

Giskard는 AI 모델 테스트 도구인데, 특정한 나쁜 정규식 패턴을 입력받으면 프로그램이 영원히 멈춰버릴 수 있습니다. 체크 정의를 수정할 수 있는 사람이 악의적으로 이 취약점을 이용할 수 있습니다.

🇺🇸 원문 (English)

Giskard is an open-source testing framework for AI models. In versions prior to 1.0.2b1, the RegexMatching check passes a user-supplied regular expression pattern directly to Python's re.search() without any timeout or complexity guard. A crafted regex pattern can trigger catastrophic backtracking, causing the process to hang indefinitely. Exploitation requires write access to a check definition and subsequent execution of the test suite. This issue has been fixed in giskard-checks version 1.0.2b1.

📍 영향받는 시스템

Giskard (giskard-checks) 1.0.2b1 이전 모든 버전

⚔️ 공격 벡터

체크 정의 쓰기 권한 보유자가 악의적 정규식 패턴이 포함된 체크를 작성한 후 테스트 스위트 실행

🛡️ 대응 방법

giskard-checks를 1.0.2b1 이상으로 업그레이드

🔧 검증 코드

1.0.2b1 이상의 버전이 표시되면 패치됨, 이하 버전이면 업그레이드 필요

Shell / Script
pip show giskard-checks | grep Version | awk '{print $2}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python