Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 507788 (CVE-2014-0459)

Summary: <media-libs/lcms-2.6-r1: insufficient ICC profile version validation (CVE-2014-0459)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: pacho, printing
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1087444
Whiteboard: A3 [glsa]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2014-04-16 07:44:37 UTC
From ${URL} :

It was discovered that ICC profiles were not parsed correctly. An
untrusted Java application or applet could possibly use this flaw to
cause a denial of service.

Fixed now in Oracle Java SE 7u55 and 8u5 via Oracle Critical Patch Update Advisory - April 2014.

Fixed in IcedTea7 2.4.7:

http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-April/027222.html

External References:

http://www.oracle.com/technetwork/topics/security/cpuapr2014-1972952.html#AppendixJAVA


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Matthias Maier gentoo-dev 2014-10-23 17:54:31 UTC
Is this a regression in dev-java/icedtea*? If yes, why does the summary state "media-libs/lcms"?
Comment 2 Agostino Sarubbo gentoo-dev 2014-10-24 13:15:18 UTC
(In reply to Matthias Maier from comment #1)
> Is this a regression in dev-java/icedtea*? If yes, why does the summary
> state "media-libs/lcms"?

maybe lcms is used in icedtea.
Comment 3 Matthias Maier gentoo-dev 2014-10-24 19:15:16 UTC
Ah yes, you're completely right.

There is an issue with the version parsing as indicated by an upstream commit [1].

I have pushed (a slightly modified) version of above commit, lcms-2.6-r1 contains the fix (with lcms-2.6 left vulnerable; lcms-1* unknown)

Unfortunately there is already a stabilization in progress for lcms-2.6 (without -r1) wrt bug #522310 - as I was not aware of this open security bug.

Therefor I leave it up to security to decide what action to take, i.e. whether to cancle the stabilization and stabilize 2.6-r1 instead. Noteworthy is the fact that upstream does not consider this issue to be security relevant [2] and debian left it open on stable [3].

I'm terribly sorry for the mess this created. :-/


[1] https://github.com/mm2/Little-CMS/commit/74ba39195a0cf87c43f46a2fabd9c2168692822d
[2] https://github.com/mm2/Little-CMS/issues/29
[3] https://security-tracker.debian.org/tracker/CVE-2014-0459
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-25 07:18:40 UTC
*** Bug 522310 has been marked as a duplicate of this bug. ***
Comment 5 Matthias Maier gentoo-dev 2014-10-25 17:08:52 UTC
Arches, please stabilize media-libs/lcms-2.6-r1

Target keywords:
alpha amd64 arm hppa ia64 ppc64 ppc sparc x86   arm64 m68k s390 sh
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-25 17:19:17 UTC
Stable for HPPA.
Comment 7 Agostino Sarubbo gentoo-dev 2014-10-27 14:17:22 UTC
amd64 stable
Comment 8 Agostino Sarubbo gentoo-dev 2014-10-27 14:18:41 UTC
x86 stable
Comment 9 Tobias Klausmann (RETIRED) gentoo-dev 2014-10-29 10:14:38 UTC
Stable on alpha.
Comment 10 Agostino Sarubbo gentoo-dev 2014-10-29 12:03:44 UTC
sparc stable
Comment 11 Markus Meier gentoo-dev 2014-10-30 18:50:54 UTC
arm stable
Comment 12 Agostino Sarubbo gentoo-dev 2014-11-02 09:42:46 UTC
ia64 stable
Comment 13 Agostino Sarubbo gentoo-dev 2014-11-10 13:45:15 UTC
ppc stable
Comment 14 Agostino Sarubbo gentoo-dev 2014-11-10 13:52:20 UTC
ppc64 stable
Comment 15 Matthias Maier gentoo-dev 2014-11-10 18:35:08 UTC
Version 2.6.-r1 is now stabilized on all stable arches. Therefore, I remove all vulnerable versions from the tree.

  10 Nov 2014; Matthias Maier <tamiko@gentoo.org> -lcms-2.3.ebuild,
  -lcms-2.4.ebuild, -lcms-2.5-r1.ebuild, -lcms-2.5.ebuild, -lcms-2.6.ebuild:
  drop vulnerable versions wrt bug #507788; drop unstable arches back to testing
Comment 16 GLSAMaker/CVETool Bot gentoo-dev 2015-03-03 14:21:02 UTC
This issue was resolved and addressed in
 GLSA 201412-46 at http://security.gentoo.org/glsa/glsa-201412-46.xml
by GLSA coordinator Yury German (BlueKnight).