kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-21342 A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host

서버측 위조 요청은 XStream을 사용하여 비정렬로 활성화하여 인트라넷 또는 로컬 호스트의 리소스를 참조하는 임의의 URL에서 데이터 스트림에 액세스할 수 있습니다.

설명

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.

XStream은 객체를 XML로 직렬화하고 다시 되돌리는 Java 라이브러리입니다. 1.4.16 이전 버전에서는, unmarshalling time에 처리되는 스트림이 이전에 기록된 객체를 다시 만들기 위한 타입 정보를 포함하는 취약점이 존재한다. 따라서 XStream은 이러한 유형 정보를 기반으로 새로운 인스턴스를 생성합니다. 공격자는 처리된 입력 스트림을 조작하고 객체를 교체하거나 주입할 수 있으며, 이로 인해 서버 측 위조 요청이 발생합니다. 최소 필수 유형으로 제한되는 허용 목록과 함께 XStream의 보안 프레임워크를 설정하라는 권장 사항을 따르는 사용자는 영향을 받지 않습니다. 만약 XStream의 기본 블랙리스트인 Security Framework에 의존한다면, 최소한 1.4.16 버전을 사용해야 합니다.

영향 받는 제품 제품 1개

  • x-stream

    xstream

    해결 버전 있음

    영향 받는 버전

    • 1.4.16 미만

    해결 버전

    • 1.4.16 이상

참고 자료 15건

‹ 목록

점검 지원 범위 문의

도입 문의