Bug 865741 (CVE-2012-4513) - CVE-2012-4513 kdelibs: Heap-based buffer over-read when calculating dimensions of the canvas within the scale loop
Summary: CVE-2012-4513 kdelibs: Heap-based buffer over-read when calculating dimension...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-4513
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 866228 866230
Blocks: 865878
TreeView+ depends on / blocked
 
Reported: 2012-10-12 09:56 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-22 06:01:56 UTC
Embargoed:


Attachments (Terms of Use)
Patch that should fix this bug (1.51 KB, patch)
2012-10-15 11:10 UTC, Jan Grulich
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1416 0 normal SHIPPED_LIVE Critical: kdelibs security update 2012-10-30 21:13:41 UTC
Red Hat Product Errata RHSA-2012:1418 0 normal SHIPPED_LIVE Critical: kdelibs security update 2013-02-22 01:53:15 UTC

Description Jan Lieskovsky 2012-10-12 09:56:15 UTC
A heap-based buffer over-read flaw was found in the way scaledimageplane, large image displaying library of KDE libraries, performed calculation of dimensions for the canvas for large images with very high ratios. A remote attacker could provide a specially-crafted web page that, when opened in an application linked against KDE libraries (such as konqueror), would lead to that application crash or, potentially, disclose portions of its memory (the latter being 32-bit architectures specific).

Upstream patch:
[1] http://quickgit.kde.org/index.php?p=kdelibs.git&a=commitdiff&h=1f8b1b034ccf1713a5d123a4c327290f86d17d53

References:
[2] http://www.openwall.com/lists/oss-security/2012/10/10/11
[3] http://www.openwall.com/lists/oss-security/2012/10/11/11

Comment 1 Jan Lieskovsky 2012-10-12 10:03:56 UTC
This issue did NOT affect the version of the kdelibs package, as shipped with Red Hat Enterprise Linux 5.

--

This issue affects the version of the kdelibs package, as shipped with Red Hat Enterprise Linux 6.

--

This issue did NOT affect the versions of the kdelibs package, as shipped with Fedora release of 16 and 17 (as they are already updated with aforementioned upstream patch).

Comment 5 Jan Grulich 2012-10-15 11:10:12 UTC
Created attachment 627303 [details]
Patch that should fix this bug

Comment 6 Vincent Danen 2012-10-30 16:27:55 UTC
This is now public:

http://seclists.org/oss-sec/2012/q4/171

Comment 7 errata-xmlrpc 2012-10-30 17:16:10 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1416 https://rhn.redhat.com/errata/RHSA-2012-1416.html

Comment 8 errata-xmlrpc 2012-10-30 17:36:28 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1418 https://rhn.redhat.com/errata/RHSA-2012-1418.html


Note You need to log in before you can comment on or make changes to this bug.