VDB
Sign up
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

PyPI/tryton
Introduced in: 5.0.0Fixed in: 5.0.12
Fixpip install --upgrade 'tryton>=5.0.12'

References

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"]}'