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

exploitDog

github логотип

GHSA-f5gc-p5m3-v347

Опубликовано: 02 дек. 2020
Источник: github
Github: Прошло ревью
CVSS4: 8.9
CVSS3: 9.8

Описание

XXE in petl

Impact

Information Disclosure

Summary

petl is a Python library that provides functions for extraction, transformation, and loading (ETL) of data.

petl before 1.68, in some configurations, allows resolution of entities in XML input.

An attacker who is able to submit XML input to an application using petl can disclose arbitrary files on the file system in the context of the user under which the application is running.

Affected Applications

Applications that:

  • accept attacker-supplied XML input that is processed using petl < 1.68
  • return the response generated by petl back to the attacker
  • configure lxml as the underlying XML processing library used by petl
  • have read privileges in filesystem files with sensitive information

Mitigation

Update to petl >= 1.68

Workarounds

  • Assure there is no user/external access to the application using petl
  • Assure your application is not using the function fromxml()

References

For more information

If you have any questions or comments about this advisory:

  • Add a comment in the Github issue

Thaks to Naveen Sunkavally.

Пакеты

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

petl

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

< 1.6.8

1.6.8

EPSS

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

8.9 High

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-611

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

CVSS3: 9.8
nvd
около 5 лет назад

petl before 1.68, in some configurations, allows resolution of entities in an XML document.

EPSS

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

8.9 High

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-611