개요
이 취약점이 무엇인지
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.6 and 2.44.0, the local web_fetch_tool and the WebFetch local fallback compare blocked_domains entries with a URL hostname before both values are normalized to the form used by getaddrinfo. An attacker-influenced model can use an equivalent IDNA spelling, non-ASCII label separator, case variation, or trailing root label that resolves to a blocked host but does not match the configured string, causing the application to fetch that host with its own privileges. allowed_domains fails closed for unmatched spellings, and private-IP and cloud-metadata protections remain effective. This issue is fixed in versions 1.107.6 and 2.44.0.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| pydantic_aipydantic · python 용 | 1.77.0 | ≤ | 취약 | < | 1.107.6 | 1.107.6이상 |
| 2.0.0 | ≤ | 취약 | < | 2.44.0 | 2.44.0이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 4줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| pydantic-aipydantic | 이 버전만 | 취약 | = | >= 1.77.0, < 1.107.6 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | >= 2.0.0b1, < 2.44.0 | 벤더 공지 확인 | ||
| pydantic-ai-slimpydantic | 이 버전만 | 취약 | = | >= 1.77.0, < 1.107.6 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | >= 2.0.0b1, < 2.44.0 | 벤더 공지 확인 | ||
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
벤더 공지6
패치8
- github.com/pydantic/pydantic-ai/commit/490335f8e2322e143a79337ddca9410e0176c812
- github.com/pydantic/pydantic-ai/commit/a9dab92099d0ef9d5d4aa34ccac8a6f1b0e51284
- github.com/pydantic/pydantic-ai/commit/c1f212a084cbfa0012f2044cdb4731d214b3b983
- github.com/pydantic/pydantic-ai/pull/8407
- github.com/pydantic/pydantic-ai/pull/8409