Bug 638365 (CVE-2010-3349)
Summary: | CVE-2010-3349 ardour: insecure library loading vulnerability | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Vincent Danen <vdanen> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | green, hdegoede, oget.fedora |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-10 10:57:16 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: | 638367 | ||
Bug Blocks: |
Description
Vincent Danen
2010-09-28 21:06:07 UTC
Created ardour tracking bugs for this issue Affects: fedora-all [bug 638367] thanks for the report. Let me understand the issue better. When $LD_LIBRARY_PATH is empty, the line export LD_LIBRARY_PATH=/usr/lib/ardour2:$LD_LIBRARY_PATH becomes just export LD_LIBRARY_PATH=/usr/lib/ardour2: This means that the current working directory is added to LD_LIBRARY_PATH. An attacker places a malicious library where the user is likely to execute /usr/bin/ardour2 and then boom! Is this correct? Yes, that is exactly correct. With that colon at the end there, ld.so essentially treats it as "/usr/lib/ardour2:.". I contacted upstream about this. On the other hand, having a second thought, this sounds rather like a bug in ld to me. Any ideas why an empty item is treated as a dot '.' as opposed to null? This one-liner should work as an alternative to if-else-fi fix: export LD_LIBRARY_PATH=/usr/lib/foo${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} (In reply to comment #4) > I contacted upstream about this. On the other hand, having a second thought, > this sounds rather like a bug in ld to me. > > Any ideas why an empty item is treated as a dot '.' as opposed to null? I don't know if it's necessarily a bug or expected behaviour, however there is some discussion about whether or not to change it: http://www.openwall.com/lists/oss-security/2010/09/29/1 In the meantime, correcting this would be ideal as I think we would want to follow upstream on this, and they would need to weigh in on the discussion. This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products. |