CVE-2015-5704: Command Injection

Published Jul 31, 2015
·
Updated

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

4 affected components
debian/devscripts<=2.15.6, <=2.15.5
Devscripts Devel Team Devscripts<=2.15.6
Fedoraproject Fedora=21
Fedoraproject Fedora=22

Event History

Jul 31, 2015
Data Sourced
via Debian·06:45 PM
SeverityAffected Software
Aug 3, 2015
Data Sourced
via Red Hat·01:01 PM
DescriptionSeverityAffected Software
Sep 25, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

What are the affected versions for CVE-2015-5704?

CVE-2015-5704 affects devscripts versions up to and including 2.15.6.

4

Is CVE-2015-5704 present in Fedora 21 and 22?

Yes, CVE-2015-5704 is present in Fedora versions 21 and 22.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203