#VU47485 Path traversal in librepo


Published: 2020-08-30 | Updated: 2020-10-09

Vulnerability identifier: #VU47485

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-14352

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
librepo
Universal components / Libraries / Libraries used by multiple products

Vendor: rpm-software-management

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in remote repository metadata. A remote attacker with control over the repository can trick the victim into downloading software and copy files outside of the destination directory on the targeted system. Successful exploitation of the vulnerability may result in system compromise.

Mitigation
Install update from vendor's website.

Vulnerable software versions

librepo: 1.8.0 - 1.12.0


External links
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00072.html
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00055.html
http://bugzilla.redhat.com/show_bug.cgi?id=1866498


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability