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


Severity

Recommended
0.0
medium
0
10

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 ID SNYK-PYTHON-LXML-1047474
  • published 1 Dec 2020
  • disclosed 1 Dec 2020
  • credit Unknown

Introduced: 1 Dec 2020

CVE NOT AVAILABLE CWE-22 Open this link 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
Expand this section

Snyk

5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None