Bug 1194209
Summary: | CVE-2015-1877 xdg-utils: command injection vulnerability due to local variables collision in xdg-open [fedora-all] | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vasyl Kaigorodov <vkaigoro> |
Component: | xdg-utils | Assignee: | Rex Dieter <rdieter> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 21 | CC: | jrusnack, pertusus, rdieter |
Target Milestone: | --- | Keywords: | Security, SecurityTracking |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Release Note | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-20 17:04:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1194205 |
Description
Vasyl Kaigorodov
2015-02-19 10:47:20 UTC
Use the following template to for the 'fedpkg update' request to submit an update for this issue as it contains the top-level parent bug(s) as well as this tracking bug. This will ensure that all associated bugs get updated when new packages are pushed to stable. ===== # bugfix, security, enhancement, newpackage (required) type=security # testing, stable request=testing # Bug numbers: 1234,9876 bugs=1194205,1194209 # Description of your update notes=Security fix for CVE-2015-1877 # Enable request automation based on the stable/unstable karma thresholds autokarma=True stable_karma=3 unstable_karma=-3 # Automatically close bugs when this marked as stable close_bugs=True # Suggest that users restart after update suggest_reboot=False ====== Additionally, you may opt to use the bodhi update submission link instead: https://admin.fedoraproject.org/updates/new/?type_=security&bugs=1194205,1194209 I think I would dispute that fedora is affected by this, referencing my comment in the upstream bug, https://bugs.freedesktop.org/show_bug.cgi?id=89129 ----------------------------- The code has diverged a bit in git so the proposed debian patch no longer applies. But good news: the current code should be safe(r), since all uses of local $var are initialized to avoid the problem, in particular, the code closest to what this patch touches now contains: search_desktop_file() { local default="$1" local dir="$2" local arg="$3" local file="" # look for both vendor-app.desktop, vendor/app.desktop ... Lastly, with test case given in debian report, I cannot reproduce, at least not with the versions of bash and dash shipped with fedora 20: $ cat testme testme() { x=backfromthedead local x echo $x } $ bash testme $ dash testme $ rpm -q bash dash bash-4.2.53-2.fc20.i686 dash-0.5.8-1.fc20.i686 Apologies, this bug was filed prior to the proper analysis. Fedora is not affected by this flaw. Thanks for looking into this! |