Bug 24117 - tar new security issue CVE-2018-20482
Summary: tar new security issue CVE-2018-20482
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
Whiteboard: MGA6-32-OK
Keywords: advisory, validated_update
Depends on:
Reported: 2019-01-03 03:17 CET by David Walser
Modified: 2019-01-11 22:09 CET (History)
5 users (show)

See Also:
Source RPM: tar-1.30-3.mga7.src.rpm
Status comment:


David Walser 2019-01-03 03:18:02 CET

Whiteboard: (none) => MGA6TOO

Comment 1 Marja Van Waes 2019-01-03 21:28:27 CET
Assigning to the registered maintainer.

Assignee: bugsquad => shlomif
CC: (none) => marja11

David Walser 2019-01-04 00:32:56 CET

CC: (none) => smelror

Comment 2 Stig-Ørjan Smelror 2019-01-04 00:55:04 CET

GNU tar has been updated to fix CVE-2018-20482.

GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c)
by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).





from tar-1.31-1.mga6.src.rpm

Version: Cauldron => 6
Assignee: shlomif => qa-bugs
Whiteboard: MGA6TOO => (none)

Comment 3 Stig-Ørjan Smelror 2019-01-04 00:55:23 CET
GNU tar 1.31 has also been pushed to Cauldron
Comment 4 Herman Viaene 2019-01-11 10:07:46 CET
MGA6-32 MATE on IBM Thinkpad R50e
No installation issues
Ref bug 19696 for tests, so
testing existing file
$ tar -tvf /mnt/Documents/kursussen.tar.gz 
drwxrwxr-x herman/herman     0 2007-04-18 09:30 kursussen/
-rw-r--r-- herman/herman   931 2007-03-05 11:01 kursussen/cut.jpg
-rw-rw-r-- herman/herman 2036968 2007-03-30 18:07 kursussen/text.odt
-rw-rw-r-- herman/herman   21880 2007-03-05 15:07 kursussen/findreplace.jpg
and a lot more, all OK
Making and extracting new tar file
$ cd Documenten/
$ tar -cf bugtest.tar apachemodper.txt dcraw.txt 
Copy tar file to tmp
$ cd ../tmp/
$ tar -xf bugtest.tar
$ ls
apachemodper.txt  bugtest.tar  dcraw.txt
All OK to me

CC: (none) => herman.viaene
Whiteboard: (none) => MGA6-32-OK

Lewis Smith 2019-01-11 20:03:19 CET

CC: (none) => lewyssmith, sysadmin-bugs
Keywords: (none) => advisory, validated_update

Comment 5 Mageia Robot 2019-01-11 22:09:18 CET
An update for this issue has been pushed to the Mageia Updates repository.


Resolution: (none) => FIXED

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