Bug 1050928 (CVE-2014-0011)
Summary: | CVE-2014-0011 tigervnc: ZRLE decoding heap-based buffer overflow in vncviewer | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] Security Response | Reporter: | Ratul Gupta <ratulg> | ||||
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||
Status: | CLOSED NOTABUG | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | unspecified | CC: | jkurik, pfrields, scorneli, security-response-team, twaugh, vkrizan | ||||
Target Milestone: | --- | Keywords: | Security | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tigervnc 1.3.1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-03-19 20: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: | 1048994, 1074555, 1078508 | ||||||
Bug Blocks: | 1050929 | ||||||
Attachments: |
|
Description
Ratul Gupta
2014-01-09 11:24:08 UTC
This issue was tracked to an issue in the ZRLE_DECODE() function which perform RLE decoding. The function already contained boundary checks inside assert(). Those checks were, however, disabled in builds with NDEBUG, such as tigervnc packages in Fedora.
The tigervnc packages in Red Hat Enterprise Linux 6, and the vnc packages in Red Hat Enterprise Linux 5, were not built with NDEBUG and have those checks enabled. Therefore, they are not affected by this issue.
Tim Waugh prepared a patch that:
- replaces relevant asserts with explicit checks that raise exception
- changing build configuration to not use NDEBUG
Patch is attached as attachment 859269 [details]
The issue is now fixed upstream in TigerVNC 1.3.1: http://sourceforge.net/p/tigervnc/mailman/message/32120476/ Upstream commits (applying patch mentioned in commnet 14): http://sourceforge.net/p/tigervnc/code/5163 http://sourceforge.net/p/tigervnc/code/5164 Statement: Not vulnerable. This issue did not affect the tigervnc packages as shipped with Red Hat Enterprise Linux 6, and the vnc packages as shipped with Red Hat Enterprise Linux 5. tigervnc-1.3.0-14.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. tigervnc-1.3.0-10.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |