🇰🇷 한글 설명
Docling의 USPTO 특허 XML 파서가 XML 외부 엔티티(XXE) 공격에 대한 보호 없이 xml.sax.parseString()을 사용하여 발생한 취약점입니다. 공격자는 악성 XML 파일을 통해 서버의 임의 파일을 읽거나, SSRF 공격을 수행하거나, 서비스 거부(DoS)를 유발할 수 있습니다. 이 취약점은 ICE(v4.x), Grant v2.5, Application v1.x 파서에 영향을 미칩니다.
💡 쉬운 설명
문서 처리 도구가 특허 파일을 읽을 때 보안 검사를 제대로 하지 않아 발생하는 문제입니다. 나쁜 의도로 만들어진 파일을 올리면 해커가 서버 내부 파일을 훔쳐보거나 서버를 마비시킬 수 있습니다.
🇺🇸 원문 (English)
Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. From 2.13.0 until 2.74.0, the USPTO patent XML parser used the standard xml.sax.parseString() without protection against XML External Entity (XXE) attacks. An attacker could craft malicious USPTO patent XML files with external entity references that could read arbitrary files from the server filesystem, perform Server-Side Request Forgery (SSRF) attacks, or cause denial of service through entity expansion (Billion Laughs attack). The vulnerability affects three USPTO patent format parsers: ICE (v4.x), Grant v2.5, and Application v1.x. This vulnerability is fixed in 2.74.0.
📍 영향받는 시스템
Docling 2.13.0 ~ 2.74.0 미만 버전 (ICE v4.x, Grant v2.5, Application v1.x 파서 포함)
⚔️ 공격 벡터
악의적으로 조작된 USPTO 특허 XML 파일을 시스템에 업로드하여 파싱을 유도함
🛡️ 대응 방법
Docling 버전을 2.74.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 2.74.0보다 낮으면 취약한 상태입니다.
pip show docling | grep Version
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server