CVE-2021-37714 Crafted input may cause the jsoup HTML and XML parser to get stuck, timeout, or throw unchecked exceptions
조작된 입력으로 인해 jsoup HTML 및 XML 파서가 멈추거나, 시간 초과되거나, 검사되지 않은 예외를 throw할 수 있음
설명
jsoup is a Java library for working with HTML. Those using jsoup versions prior to 1.14.2 to parse untrusted HTML or XML may be vulnerable to DOS attacks. If the parser is run on user supplied input, an attacker may supply content that causes the parser to get stuck (loop indefinitely until cancelled), to complete more slowly than usual, or to throw an unexpected exception. This effect may support a denial of service attack. The issue is patched in version 1.14.2. There are a few available workarounds. Users may rate limit input parsing, limit the size of inputs based on system resources, and/or implement thread watchdogs to cap and timeout parse runtimes.
jsoup은 HTML 작업을 위한 Java 라이브러리입니다. 신뢰할 수 없는 HTML 또는 XML을 구문 분석하기 위해 1.14.2 이전 버전의 jsoup을 사용하는 사람들은 DOS 공격에 취약할 수 있습니다. 파서를 사용자 입력으로 실행하면 공격자는 파서를 고정시키는 콘텐츠(취소될 때까지 무한 반복)를 평소보다 더 느리게 완료하거나 예기치 않은 예외를 발생시키는 콘텐츠를 제공할 수 있습니다. 이 효과는 서비스 거부 공격을 지원할 수 있습니다. 이 문제는 버전 1.14.2에서 패치되었습니다. 몇 가지 해결 방법이 있습니다. 사용자는 입력 파싱을 제한하거나, 시스템 자원에 기초하여 입력의 크기를 제한하거나, 및/또는 스레드 감시를 캡 및 타임아웃 파싱 런타임에 구현할 수 있다.
영향 받는 제품 제품 1개
-
해결 버전 있음
jhy
jsoup
영향 받는 버전
- 1.14.2 미만
해결 버전
- 1.14.2 이상
참고 자료 14건
- github.com https://github.com/jhy/jsoup/security/advisories/GHSA-m72m-mhq2-9p6c (새 창)
- jsoup.org https://jsoup.org/news/release-1.14.1 (새 창)
- jsoup.org https://jsoup.org/news/release-1.14.2 (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r215009dbf7467a9f6506d0c0024cb36cad30071010e62c9352cfaaf0%40%3Cissues.maven.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r377b93d79817ce649e9e68b3456e6f499747ef1643fa987b342e082e%40%3Cissues.maven.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r3d71f18adb78e50f626dde689161ca63d3b7491bd9718fcddfaecba7%40%3Cissues.maven.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r50e9c9466c592ca9d707a5dea549524d19e3287da08d8392f643960e%40%3Cissues.maven.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r685c5235235ad0c26e86d0ee987fb802c9675de6081dbf0516464e0b%40%3Cnotifications.james.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r97404676a5cf591988faedb887d64e278f522adcaa823d89ca69defe%40%3Cnotifications.james.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/rc3354080fc67fb50b45b3c2d12dc4ca2a3c1c78dad3d3ba012c038aa%40%3Cnotifications.james.apache.org%3E (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20220210-0022/ (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpujan2022.html (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpujul2022.html (새 창)