CVE-2023-50252 php-svg-lib unsafe attributes merge when parsing `use` tag
`use` 태그를 파싱 할 때 php-svg-lib 안전하지 않은 속성이 병합됩니다.
설명
php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when handling `<use>` tag that references an `<image>` tag, it merges the attributes from the `<use>` tag to the `<image>` tag. The problem pops up especially when the `href` attribute from the `<use>` tag has not been sanitized. This can lead to an unsafe file read that can cause PHAR Deserialization vulnerability in PHP prior to version 8. Version 0.5.1 contains a patch for this issue.
php-svg-lib 는 SVG 파일 파싱 / 렌더링 라이브러리입니다. 버전 0.5.1 이전에, `<image>` 태그를 참조하는 `<use>` 태그를 처리할 때, `<use>` 태그의 속성을 `<image>` 태그로 병합합니다. 문제는 특히 `<use>` 태그의 `href` 속성이 살균되지 않은 경우에 나타납니다. 이로 인해 버전 8 이전 PHP에서 PHAR 역직렬화(Deserialization) 취약점을 일으킬 수있는 안전하지 않은 파일 읽기가 발생할 수 있습니다. 버전 0.5.1에는 이 문제에 대한 패치가 포함되어 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
dompdf
php-svg-lib
영향 받는 버전
- 0.5.1 미만
해결 버전
- 0.5.1 이상