A flaw was found in librepo in versions before 1.12.1. A directory traversal vulnerability was found where it failed to sanitize paths in remote repository metadata. An attacker controlling a remote repository may be able to copy files outside of the destination directory on the targeted system via path traversal. This flaw could potentially result in system compromise via the overwriting of critical system files. The highest threat from this flaw is to users that make use of untrusted third-party repositories.

References[email protected]/message/33RX4P5R5YL4NZSFSE4NOX37X6YCXAS4/[email protected]/message/OOMDEQBRJ7SO2QWL7H23G3VV2VSCUYOY/[email protected]/message/XDMHVY7OMIJNSPVZ2GJWHT77Z5V3YJ55/


Source: MITRE

Published: 2020-08-30

Updated: 2020-11-09

Type: CWE-22

Risk Information

CVSS v2.0

Base Score: 8.5

Vector: AV:N/AC:M/Au:S/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 6.8

Severity: HIGH

CVSS v3.0

Base Score: 8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 2.1

Severity: HIGH