[v2] NEWS: Mention CVE-2021-3326 (iconv assertion with ISO-20220-JP-3)

Message ID 875z3fwv9y.fsf@oldenburg.str.redhat.com
State Committed
Commit d7f4f3f5fb1275f0b3d9f4e1b3d9d7b75a5a9e26
Headers
Series [v2] NEWS: Mention CVE-2021-3326 (iconv assertion with ISO-20220-JP-3) |

Commit Message

Florian Weimer Jan. 29, 2021, 4:41 p.m. UTC
  ---
v2: fix the typos Paul Zimmermann reported

 NEWS | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Adhemerval Zanella Netto Jan. 29, 2021, 4:54 p.m. UTC | #1
Ok for 2.33.

On 29/01/2021 13:41, Florian Weimer via Libc-alpha wrote:
> ---
> v2: fix the typos Paul Zimmermann reported
> 
>  NEWS | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index 6521a4f5b7..0d589f9f6e 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -102,6 +102,12 @@ Changes to build and runtime requirements:
>  
>  Security related changes:
>  
> +  CVE-2021-3326: An assertion failure during conversion from the
> +  qISO-20220-JP-3 character set using the iconv function has been fixed.
> +  This assertion was triggered by certain valid inputs in which the
> +  converted output contains a combined sequence of two wide characters
> +  crossing a buffer boundary.  Reported by Tavis Ormandy.
> +
>    CVE-2020-27618: An infinite loop has been fixed in the iconv program when
>    invoked with input containing redundant shift sequences in the IBM1364,
>    IBM1371, IBM1388, IBM1390, or IBM1399 character sets.
>
  
Dmitry V. Levin Jan. 29, 2021, 5:12 p.m. UTC | #2
On Fri, Jan 29, 2021 at 05:41:13PM +0100, Florian Weimer via Libc-alpha wrote:
> ---
> v2: fix the typos Paul Zimmermann reported
> 
>  NEWS | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index 6521a4f5b7..0d589f9f6e 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -102,6 +102,12 @@ Changes to build and runtime requirements:
>  
>  Security related changes:
>  
> +  CVE-2021-3326: An assertion failure during conversion from the
> +  qISO-20220-JP-3 character set using the iconv function has been fixed.

I'm not sure about "q" in "qISO-20220-JP-3".
  
Florian Weimer Jan. 29, 2021, 6 p.m. UTC | #3
* Dmitry V. Levin:

> On Fri, Jan 29, 2021 at 05:41:13PM +0100, Florian Weimer via Libc-alpha wrote:
>> ---
>> v2: fix the typos Paul Zimmermann reported
>> 
>>  NEWS | 6 ++++++
>>  1 file changed, 6 insertions(+)
>> 
>> diff --git a/NEWS b/NEWS
>> index 6521a4f5b7..0d589f9f6e 100644
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -102,6 +102,12 @@ Changes to build and runtime requirements:
>>  
>>  Security related changes:
>>  
>> +  CVE-2021-3326: An assertion failure during conversion from the
>> +  qISO-20220-JP-3 character set using the iconv function has been fixed.
>
> I'm not sure about "q" in "qISO-20220-JP-3".

Ugh, thanks for spotting this, Dmitry.

Adhemerval, is it okay if I push a patch to remove that “q”?

Thanks,
Florian
  
Adhemerval Zanella Netto Jan. 29, 2021, 6:05 p.m. UTC | #4
On 29/01/2021 15:00, Florian Weimer wrote:
> * Dmitry V. Levin:
> 
>> On Fri, Jan 29, 2021 at 05:41:13PM +0100, Florian Weimer via Libc-alpha wrote:
>>> ---
>>> v2: fix the typos Paul Zimmermann reported
>>>
>>>  NEWS | 6 ++++++
>>>  1 file changed, 6 insertions(+)
>>>
>>> diff --git a/NEWS b/NEWS
>>> index 6521a4f5b7..0d589f9f6e 100644
>>> --- a/NEWS
>>> +++ b/NEWS
>>> @@ -102,6 +102,12 @@ Changes to build and runtime requirements:
>>>  
>>>  Security related changes:
>>>  
>>> +  CVE-2021-3326: An assertion failure during conversion from the
>>> +  qISO-20220-JP-3 character set using the iconv function has been fixed.
>>
>> I'm not sure about "q" in "qISO-20220-JP-3".
> 
> Ugh, thanks for spotting this, Dmitry.
> 
> Adhemerval, is it okay if I push a patch to remove that “q”?
Ok.
  

Patch

diff --git a/NEWS b/NEWS
index 6521a4f5b7..0d589f9f6e 100644
--- a/NEWS
+++ b/NEWS
@@ -102,6 +102,12 @@  Changes to build and runtime requirements:
 
 Security related changes:
 
+  CVE-2021-3326: An assertion failure during conversion from the
+  qISO-20220-JP-3 character set using the iconv function has been fixed.
+  This assertion was triggered by certain valid inputs in which the
+  converted output contains a combined sequence of two wide characters
+  crossing a buffer boundary.  Reported by Tavis Ormandy.
+
   CVE-2020-27618: An infinite loop has been fixed in the iconv program when
   invoked with input containing redundant shift sequences in the IBM1364,
   IBM1371, IBM1388, IBM1390, or IBM1399 character sets.