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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | devscripts | 2.13.8 | — |
| Debian 13 | devscripts | 2.13.8 | — |
| Debian 12 | devscripts | 2.13.8 | — |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1040266
- [oss-securit] 20131211 Re: CVE request: devscripts (uscan) command execution flaw mailing-list
- 100855 vdb-entry
- 64241 vdb-entry
- [oss-securit] 20131211 CVE request: devscripts (uscan) command execution flaw mailing-list
- http://anonscm.debian.org/gitweb/?p=collab-maint/devscripts.git%3Ba=commitdiff%3Bh=91f05b5
- devscripts-cve20137050-command-execution(89666) vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731849