| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| github.com/k3s-io/k3s | ≥ 1.34.0-rc1, < 1.34.6≥ 1.35.0-rc1, < 1.35.3< 1.33.10mọi phiên bản | 1.34.61.35.31.33.10 |
A path traversal vulnerability exists in K3s's etcd snapshot decompression functionality. Zip files containing archive members with maliciously crafted names (e.g., ../../../../etc/password) can be written to arbitrary locations on the filesystem when an administrator restores the archive as a compressed etcd snapshot.
GODEBUG environment variable:
GODEBUG=zipinsecurepath=0 k3s server --cluster-reset --cluster-reset-restore-path=/path/to/snapshot.zip
.zip, the vulnerable extraction code will not be executed.Administrators should be aware of the cautions noted in the "Security" section of the documentation on Restoring Snapshots.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí