Tóm tắt nhanh
- CVE-2023-24531 là lỗ hổng mức NGHIÊM TRỌNG (CVSS 9.8) ảnh hưởng toolchain.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.84%, cao hơn 57.9% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.21.0-0 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| toolchain Go | < 1.21.0-0
| 1.21.0-0
|
Mô tả
Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables.
This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.
Mô tả của NVD
Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.
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í