MEDIUM6.5
PYSEC-2022-43170
Quick fix
PYSEC-2022-43170 — tryton: upgrade to the fixed version with the command below.
pip install --upgrade 'tryton>=5.0.12'Details
An XXE issue was discovered in Tryton Application Platform (Server) 5.x through 5.0.45, 6.x through 6.0.15, and 6.1.x and 6.2.x through 6.2.5, and Tryton Application Platform (Command Line Client (proteus)) 5.x through 5.0.11, 6.x through 6.0.4, and 6.1.x and 6.2.x through 6.2.1. An authenticated user can make the server parse a crafted XML SEPA file to access arbitrary files on the system.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://bugs.tryton.org/issue11219[ADVISORY]
- https://discuss.tryton.org/t/security-release-for-issue11219-and-issue11244/5059[ADVISORY]
- https://lists.debian.org/debian-lts-announce/2022/03/msg00016.html[WEB]
- https://lists.debian.org/debian-lts-announce/2022/03/msg00017.html[WEB]
- https://www.debian.org/security/2022/dsa-5098[ADVISORY]
- https://www.debian.org/security/2022/dsa-5099[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/tryton"]}'