CVE-2020-14352
published 2020-08-30CVE-2020-14352: 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…
PriorityP343high8CVSS 3.1
AVNACLPRLUIRSUCHIHAH
EPSS
2.53%
83.2th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_librepo_1.11.0-3_on_cbl_mariner_1.0 | — | — |
| opensuse | backports_sle | — | — |
| opensuse | leap | — | — |
| redhat | librepo | < 1.12.1 | 1.12.1 |
| redhat | librepo | — | — |
CVSS provenance
nvdv3.18.0HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
nvdv2.08.5HIGHAV:N/AC:M/Au:S/C:C/I:C/A:C
vendor_msrc8.0HIGH
vendor_redhat8.0HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
librepo: missing path validation in repomd.xml may lead to directory traversal
vendor_redhat·2020-08-13·CVSS 8.0
CVE-2020-14352 [HIGH] CWE-22 librepo: missing path validation in repomd.xml may lead to directory traversal
librepo: missing path validation in repomd.xml may lead to directory traversal
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.
A flaw was found in librepo. 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 cop
Microsoft
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 r
vendor_msrc·2020-08-11·CVSS 8.0
CVE-2020-14352 [HIGH] CWE-22 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 r
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the mos
GHSA
GHSA-2fcv-8cvq-hmxh: A flaw was found in librepo in versions before 1
ghsa_unreviewed·2022-05-24
CVE-2020-14352 [HIGH] CWE-22 GHSA-2fcv-8cvq-hmxh: A flaw was found in librepo in versions before 1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-14352 librepo: missing path validation in repomd.xml may lead to directory traversal [fedora-all]
bugzilla·2020-08-13·CVSS 8.0
CVE-2020-14352 [HIGH] CVE-2020-14352 librepo: missing path validation in repomd.xml may lead to directory traversal [fedora-all]
CVE-2020-14352 librepo: missing path validation in repomd.xml may lead to directory traversal [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affect
Bugzilla
CVE-2020-14352 librepo: missing path validation in repomd.xml may lead to directory traversal
bugzilla·2020-08-05·CVSS 8.0
CVE-2020-14352 [HIGH] CVE-2020-14352 librepo: missing path validation in repomd.xml may lead to directory traversal
CVE-2020-14352 librepo: missing path validation in repomd.xml may lead to directory traversal
Librepo fails to sanitize paths in the 'repomd.xml' configuration file. Malformed or malicious repository metadata could allow a remote attacker to copy files outside of the destination directory via path traversal. Considering that DNF runs as root, this flaw could potentially result in system compromise via arbitrary file overwriting of critical system files.
Discussion:
Could you provide more details about the vulnerability that would help us to reproduce and narrow down the problem?
Are there any logs or reports we should be aware of?
Is the person who discovered this problem able to share more details incl. pointers to the suspicious code?
Is there a reproducer?
---
The flaw lies in prep
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00072.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00055.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=1866498https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33RX4P5R5YL4NZSFSE4NOX37X6YCXAS4/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OOMDEQBRJ7SO2QWL7H23G3VV2VSCUYOY/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XDMHVY7OMIJNSPVZ2GJWHT77Z5V3YJ55/http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00072.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-09/msg00055.htmlhttps://bugzilla.redhat.com/show_bug.cgi?id=1866498https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/33RX4P5R5YL4NZSFSE4NOX37X6YCXAS4/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OOMDEQBRJ7SO2QWL7H23G3VV2VSCUYOY/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XDMHVY7OMIJNSPVZ2GJWHT77Z5V3YJ55/
2020-08-30
Published