Arbitrary File Write Affecting lxml package, versions [,4.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LXML-1047474
  • published1 Dec 2020
  • disclosed1 Dec 2020
  • creditUnknown

Introduced: 1 Dec 2020

CVE NOT AVAILABLE CWE-22  (opens in a new tab)

How to fix?

Upgrade lxml to version 4.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Write. When writing to file paths that contain the URL escape character '%', the file path could wrongly be mangled by URL unescaping and thus write to a different file or directory.

References

CVSS Scores

version 3.1