Bug 1249635 (CVE-2015-5704) - CVE-2015-5704 devscripts: arbitrary shell command injection
Summary: CVE-2015-5704 devscripts: arbitrary shell command injection
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-5704
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1249636
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-03 13:01 UTC by Adam Mariš
Modified: 2019-09-29 13:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-15 10:34:47 UTC


Attachments (Terms of Use)

Description Adam Mariš 2015-08-03 13:01:10 UTC
In scripts/licensecheck.pl, there is executed code, that is vulnerable to shell command injection via shell metacharacters in filename.

my $mime = `file --brief --mime --dereference $file`;

Upstream patch:
https://anonscm.debian.org/cgit/collab-maint/devscripts.git/commit/?id=c0687bcde23108dd42e146573c368b6905e6b8e8

CVE assignment:
http://www.openwall.com/lists/oss-security/2015/08/01/7

Comment 1 Adam Mariš 2015-08-03 13:02:24 UTC
Created devscripts tracking bugs for this issue:

Affects: fedora-all [bug 1249636]

Comment 2 Fedora Update System 2015-08-12 07:04:15 UTC
devscripts-2.15.8-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2015-08-12 07:04:58 UTC
devscripts-2.15.8-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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