Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-8h9c-r582-mggc

Опубликовано: 07 мар. 2023
Источник: github
Github: Прошло ревью
CVSS4: 8.8
CVSS3: 8.2

Описание

OWSLib vulnerable to XML External Entity (XXE) Injection

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

Пакеты

Наименование

OWSLib

pip
Затронутые версииВерсия исправления

< 0.28.1

0.28.1

EPSS

Процентиль: 36%
0.00149
Низкий

8.8 High

CVSS4

8.2 High

CVSS3

Дефекты

CWE-611

Связанные уязвимости

CVSS3: 8.2
ubuntu
почти 3 года назад

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.

CVSS3: 8.2
nvd
почти 3 года назад

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.

CVSS3: 8.2
debian
почти 3 года назад

OWSLib is a Python package for client programming with Open Geospatial ...

EPSS

Процентиль: 36%
0.00149
Низкий

8.8 High

CVSS4

8.2 High

CVSS3

Дефекты

CWE-611