CVE-2015-5704: Command Injection
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
Other sources
scripts/licensecheck.pl in devscripts before 2.15.7 allows local users to execute arbitrary shell commands.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2015-5704?
CVE-2015-5704 is classified as a high severity vulnerability due to the potential for remote code execution via command injection.
How do I fix CVE-2015-5704?
To fix CVE-2015-5704, you need to update the devscripts package to a version that includes the upstream patch addressing the vulnerability.
What are the affected versions for CVE-2015-5704?
CVE-2015-5704 affects devscripts versions up to and including 2.15.6.
Is CVE-2015-5704 present in Fedora 21 and 22?
Yes, CVE-2015-5704 is present in Fedora versions 21 and 22.
What component is vulnerable in CVE-2015-5704?
In CVE-2015-5704, the vulnerable component is the licensecheck.pl script in the devscripts package that is susceptible to shell command injection.