- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202105-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: LittleCMS: User-assisted execution of arbitrary code
      Date: May 26, 2021
      Bugs: #761418
        ID: 202105-18

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A heap-based buffer overflow in LittleCMS might allow remote attackers
to execute arbitrary code.

Background
==========

LittleCMS, or short lcms, is a color management system for working with
ICC profiles. It is used by many applications including GIMP, Firefox
and Chromium.

Affected packages
=================

     -------------------------------------------------------------------
      Package              /     Vulnerable     /            Unaffected
     -------------------------------------------------------------------
   1  media-libs/lcms               < 2.10                     >= 2.10

Description
===========

It was discovered that LittleCMS (aka Little Color Management System)
had an integer overflow in the AllocateDataSet function in cmscgats.c.

Impact
======

A remote attacker could entice a user or automated system to open a
specially crafted file containing malicious color data, possibly
resulting in execution of arbitrary code with the privileges of the
process or a Denial of Service condition.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All LittleCMS users should upgrade to the latest version:

   # emerge --sync
   # emerge --ask --oneshot --verbose ">=media-libs/lcms-2.10"

References
==========

[ 1 ] CVE-2018-16435
       https://nvd.nist.gov/vuln/detail/CVE-2018-16435

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  https://security.gentoo.org/glsa/202105-18

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2021 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5