CVE-2021-21343 XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling as long as the executing process has sufficient rights
실행 프로세스가 충분한 권한을 가지고 있는 한 XStream은 로컬 호스트에서 임의의 파일 삭제에 취약합니다.
설명
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 the deletion of a file on the local host. 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건
- github.com https://github.com/x-stream/xstream/security/advisories/GHSA-74cv-f58x-f9wf (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E (새 창)
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/ (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/ (새 창)
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/ (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20210430-0002/ (새 창)
- debian.org https://www.debian.org/security/2021/dsa-5004 (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpujan2022.html (새 창)
- oracle.com https://www.oracle.com//security-alerts/cpujul2021.html (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpuoct2021.html (새 창)
- x-stream.github.io https://x-stream.github.io/CVE-2021-21343.html (새 창)
- x-stream.github.io https://x-stream.github.io/security.html#workaround (새 창)
- x-stream.github.io http://x-stream.github.io/changes.html#1.4.16 (새 창)