CVE-2026-4360 Tarfile.extract() doesn't fully respect filter parameter
설명
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
영향 받는 제품 제품 1개
-
해결 버전 있음
Python Software Foundation
CPython
영향 받는 버전
- 3.10.21 미만
- 3.11.0 이상 3.11.16 미만
- 3.12.0 이상 3.12.14 미만
- 3.13.0 이상 3.13.15 미만
- 3.14.0 이상 3.14.7 미만
- 3.15.0a1 이상 3.15.0b4 미만
해결 버전
- 3.10.21 이상
- 3.11.16 이상
- 3.12.14 이상
- 3.13.15 이상
- 3.14.7 이상
- 3.15.0b4 이상
참고 자료 10건
- github.com https://github.com/python/cpython/commit/0367912be336348b30572f8029cec4a282782d92 (새 창)
- github.com https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0 (새 창)
- github.com https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301 (새 창)
- github.com https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a (새 창)
- github.com https://github.com/python/cpython/commit/cf23b9153181062150d061468b6d24af33fe214f (새 창)
- github.com https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44 (새 창)
- github.com https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e (새 창)
- github.com https://github.com/python/cpython/issues/151987 (새 창)
- github.com https://github.com/python/cpython/pull/151988 (새 창)
- mail.python.org https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/ (새 창)