CVE-2026-56860 Avoid quadratic complexity in resolvePath in net/url
설명
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolution operates on a byte buffer using index-based backtracking for '..' segments, eliminating the quadratic time complexity and significantly reducing memory allocations.
영향 받는 제품 제품 1개
-
해결 버전 있음
Go standard library
net/url
영향 받는 버전
- 1.25.13 미만
- 1.26.0-0 이상 1.26.6 미만
- 1.27.0-0 이상 1.27.0-rc.3 미만
해결 버전
- 1.25.13 이상
- 1.26.6 이상
- 1.27.0-rc.3 이상