Bug 1428292 - CVE-2016-10228 glibc: iconv program can hang when invoked with the -c option [fedora-all]
Summary: CVE-2016-10228 glibc: iconv program can hang when invoked with the -c option ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Arjun Shankar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2016-10228
TreeView+ depends on / blocked
 
Reported: 2017-03-02 09:01 UTC by Andrej Nemec
Modified: 2020-12-21 16:52 UTC (History)
8 users (show)

Fixed In Version: glibc-2.31.9000-18
Clone Of:
Environment:
Last Closed: 2020-08-04 13:27:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 19519 0 P2 RESOLVED iconv(1) with -c option hangs on illegal multi-byte sequences (CVE-2016-10228) 2020-11-09 21:06:02 UTC

Description Andrej Nemec 2017-03-02 09:01:53 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Andrej Nemec 2017-03-02 09:02:00 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=1428290

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Fedora End Of Life 2017-11-16 19:09:11 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Jan Kurik 2018-05-31 07:31:39 UTC
This bug has been reported against a Fedora version which is already unsuported.
In compliance with FESCo decision how to handle EOL of Security issues [1],
I am changing the version to '27', the latest supported release.

Please check whether this bug is still an issue on the '27' release.
If you find this bug not being applicable on this release, please close it.

[1] https://pagure.io/fesco/issue/1736

Comment 4 Jan Kurik 2018-08-14 11:00:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 5 Ben Cotton 2019-08-13 19:23:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 7 Ben Cotton 2020-02-11 15:48:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 8 Carlos O'Donell 2020-08-04 13:27:37 UTC
This was fixed in upstream with this commit:

commit 91927b7c76437db860cd86a7714476b56bb39d07
Author: Arjun Shankar <arjun>
Date:   Tue Jul 7 20:31:48 2020 +0200

    Rewrite iconv option parsing [BZ #19519]
    
    This commit replaces string manipulation during `iconv_open' and iconv_prog
    option parsing with a structured, flag based conversion specification.  In
    doing so, it alters the internal `__gconv_open' interface and accordingly
    adjusts its uses.
    
    This change fixes several hangs in the iconv program and therefore includes
    a new test to exercise iconv_prog options that originally led to these hangs.
    It also includes a new regression test for option handling in the iconv
    function.
    
    Reviewed-by: Florian Weimer <fweimer>
    Reviewed-by: Siddhesh Poyarekar <siddhesh>
    Reviewed-by: Carlos O'Donell <carlos>

There is a follow-up CVE that is going to be created that contains a slightly different set of failures.

We chose to split the CVE in two because some failures were related to the frontend, and we allocated those to CVE-2016-10228.

While there are still some failures related to specific converters and those will get new CVE numbers.

Comment 9 Carlos O'Donell 2020-08-04 13:33:04 UTC
Fedora 33 will have the fix for this automatically.

We will review this at the end of the month to decide if we backport to Fedora 31 and Fedora 32.


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