Tóm tắt nhanh
- CVE-2020-4075 là lỗ hổng mức CAO (CVSS 7.5) ảnh hưởng electron (electronjs), electron.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 1.2%, cao hơn 67.6% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 7.2.4, 8.2.4 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á |
|---|
| electron | = 9.0.0≥ 7.0.0, < 7.2.4≥ 8.0.0, < 8.2.4
| 7.2.48.2.4
|
| electron npm | ≥ 8.0.0, < 8.2.4< 7.2.4
| 8.2.47.2.4
|
Mô tả
Impact
The vulnerability allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.
Workarounds
Ensure you are calling event.preventDefault() on all new-window events where the url or options is not something you expect.
Fixed Versions
9.0.0-beta.21
8.2.4
7.2.4
For more information
If you have any questions or comments about this advisory:
Mô tả của NVD
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not something you expect. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
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í