Tóm tắt nhanh
- CVE-2023-27476 là lỗ hổng mức CAO (CVSS 7.5) ảnh hưởng owslib, owslib (osgeo).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.98%, cao hơn 62.2% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 0.28.1 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á |
|---|
| owslib PyPI | < 0.28.1
| 0.28.1
|
| owslib | < 0.28.1
| 0.28.1
|
Mô tả
Impact
OWSLib's XML parser (which supports both lxml and xml.etree) does not disable entity resolution for lxml, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase.
Patches
Workarounds
patch_well_known_namespaces(etree)
etree.set_default_parser(
parser=etree.XMLParser(resolve_entities=False)
)
References
Mô tả của NVD
OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models. OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase. This issue has been addressed in version 0.28.1. All users are advised to upgrade. The only known workaround is to patch the library manually. See `GHSA-8h9c-r582-mggc` for details.
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í