CVE-2013-7050: Code Injection

Published Dec 11, 2013
·
Updated

A flaw was reported in the uscan script of devscripts:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731849

From that bug report:

"" The newfangled debian/copyright-driven repacking can be exploited by malicious upstream to execute arbitrary code. ""

The fix:

http://anonscm.debian.org/gitweb/?p=collab-maint/devscripts.git;a=commitdiff;h=91f05b5

devscripts is not included in Fedora 18 or 19. It looks to be part of rawhide/the upcoming Fedora 20.

Although some Debian stuff is bundled in the rpmdevtools package, uscan does not appear to be.

Other sources

The getmainsourcedir function in scripts/uscan.pl in devscripts before 2.13.8, when using USCANEXCLUSION, allows remote attackers to execute arbitrary commands via shell metacharacters in a directory name.

MITRE

Affected Software

8 affected components
Devscripts Devel Team Devscripts<=2.13.7
Devscripts Devel Team Devscripts=2.13.0
Devscripts Devel Team Devscripts=2.13.1
Devscripts Devel Team Devscripts=2.13.2
Devscripts Devel Team Devscripts=2.13.3
Devscripts Devel Team Devscripts=2.13.4
Devscripts Devel Team Devscripts=2.13.5
Devscripts Devel Team Devscripts=2.13.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade devscripts/uscan.pl to a version that resolves this vulnerability.

    Fixed in 2.13.8Patch bug=731849
  2. Compensating control

    devscripts is not included in Fedora 18 or 19.

Event History

Dec 11, 2013
Data Sourced
via Red Hat·04:28 AM
DescriptionSeverityAffected Software
Dec 13, 2013
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:07 PM
RemedyDescriptionSeverityWeaknessAffected Software
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-2013-7050?

The severity of CVE-2013-7050 is considered moderate due to the potential exploitation of the uscan script in devscripts.

2

How do I fix CVE-2013-7050?

To fix CVE-2013-7050, update devscripts to version 2.13.8 or later, which addresses the vulnerability.

3

What software is affected by CVE-2013-7050?

CVE-2013-7050 affects versions of devscripts up to 2.13.7 and includes specific versions from 2.13.0 to 2.13.6.

4

Can CVE-2013-7050 be exploited remotely?

Yes, CVE-2013-7050 can be exploited by malicious upstream actors, making it a concern for systems using vulnerable versions of devscripts.

5

Are there any workarounds for CVE-2013-7050?

As a workaround for CVE-2013-7050, ensure to validate upstream software and restrict the use of untrusted sources during script execution.

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