Bug 1824985 (CVE-2020-11736) - CVE-2020-11736 file-roller: directory traversal via directory symlink pointing outside of the target directory
Summary: CVE-2020-11736 file-roller: directory traversal via directory symlink pointin...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-11736
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1824990 1827394 1827395
Blocks: 1824992
TreeView+ depends on / blocked
 
Reported: 2020-04-16 19:24 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-11-04 04:08 UTC (History)
9 users (show)

Fixed In Version: file-roller 3.36.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:25:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4820 0 None None None 2020-11-04 04:08:28 UTC

Description Guilherme de Almeida Suckevicz 2020-04-16 19:24:27 UTC
fr-archive-libarchive.c in GNOME file-roller through 3.36.1 allows Directory Traversal during extraction because it lacks a check of whether a file's parent is a symlink to a directory outside of the intended extraction location.

Reference and upstream commit:
https://gitlab.gnome.org/GNOME/file-roller/-/commit/21dfcdbfe258984db89fb65243a1a888924e45a0

Comment 1 Guilherme de Almeida Suckevicz 2020-04-16 19:34:07 UTC
Created file-roller tracking bugs for this issue:

Affects: fedora-all [bug 1824990]

Comment 2 Guilherme de Almeida Suckevicz 2020-04-16 19:34:10 UTC
Created file-roller tracking bugs for this issue:

Affects: fedora-all [bug 1824990]

Comment 4 Marco Benatto 2020-04-23 20:25:43 UTC
There's an issue with file-roller, during archive extraction the function extract_archive_thread() doesn't check whether a existing symlink expands to outside extracting path. This weakness can be leveraged by an attacker crafting a malicious archive file containing a determined symbolic link structure, allowing files outside the extraction directory to be overwritten. A well succeeded attack depends on User Interaction by opening and extracting the malicious archive file. The attack has a Low Integrity impact as file creation and overwritten is restricted only to the paths user has permissions to write. It may be a Low Availability impact depending on which files are overwritten.

Comment 5 Product Security DevOps Team 2020-11-04 02:25:00 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-11736

Comment 6 errata-xmlrpc 2020-11-04 04:08:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4820 https://access.redhat.com/errata/RHSA-2020:4820


Note You need to log in before you can comment on or make changes to this bug.