External Control of File Name or Path Affecting weblate package, versions [4.14,5.6.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (16th percentile)

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-WEBLATE-7418000
  • published 3 Jul 2024
  • disclosed 1 Jul 2024
  • credit Bryan Cahill

How to fix?

Upgrade Weblate to version 5.6.2 or higher.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path for the filename value in the restore() function, which expects a ZIP file as input for the backup project but does not sufficiently sanitize the input. Attackers can supply a malicious file to gain access to unauthorized files on the file system.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
2.1 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    Low
  • Availability (SA)
    None