Bug 481556 (CVE-2009-0314)
Summary: | CVE-2009-0314 gedit: untrusted python modules search path | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jan Lieskovsky <jlieskov> | ||||||
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | |||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | unspecified | CC: | bnocera, bressers, pborelli, rstrode | ||||||
Target Milestone: | --- | Keywords: | Security | ||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
URL: | http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-02-17 15:35:37 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: | 482814 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Jan Lieskovsky
2009-01-26 11:16:49 UTC
This issue does NOT affect the versions of the gedit package, as shipped with Red Hat Enterprise Linux 2.1, 3, and 4. ------------------------------------------------------------------------ This issue affects the version of the gedit package, as shipped with Red Hat Enterprise Linux 5. Commoent relevant to planned release date of the fix for this issue in Red Hat Enterprise Linux 5: The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: http://www.redhat.com/security/updates/classification/ This issue affects all versions of the gedit package, as shipped with Fedora releases of 9, 10 and devel. Please fix. I don't think this affects devel. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504352#4 mentions that python 2.6 isn't affected by this issue. Will need to confirm, of course. Created attachment 330022 [details]
Test case.
Drop into /tmp and run gedit from /tmp
I had the python console plugin enabled when testing attachment 330022 [details]
rawhide is affected. Created attachment 330031 [details] Change argument passed to PySys_SetArgv The eog patch referenced in comment 0 didn't seem to work when applied to gedit. The above patch fixes it in a different way by ensuring that argv[0] always points to a valid location. Upstream bug report: http://bugzilla.gnome.org/show_bug.cgi?id=569214 Common Vulnerabilities and Exposures assigned an identifier CVE-2009-0314 to this vulnerability: Untrusted search path vulnerability in the Python module in gedit allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983). References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0314 http://www.openwall.com/lists/oss-security/2009/01/26/2 http://bugzilla.gnome.org/show_bug.cgi?id=569214 See Bug 482814 for the root python issue. gedit-2.24.3-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. gedit-2.22.3-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. Statement: This issue does not affect gedit as shipped in Red Hat Enterprise Linux 3 and 4. It does affect gedit in Red Hat Enterprise Linux 5. Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/. |