Bug 2020652 (CVE-2021-43396)

Summary: CVE-2021-43396 glibc: conversion from ISO-2022-JP-3 with iconv may emit spurious NUL character on state reset
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aoliva, arjun.is, ashankar, bdettelb, caswilli, codonell, dj, fjansen, fweimer, glibc-bugzilla, jburrell, jnakfour, jwong, kaycoth, law, mcermak, mfabian, mnewsome, pfrankli, psegedy, rth, sipoyare, vkumar, vmugicag
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 09:04:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2020653    
Bug Blocks: 2020654, 2025838    

Description Guilherme de Almeida Suckevicz 2021-11-05 14:22:10 UTC
In iconvdata/iso-2022-jp-3.c in the GNU C Library (aka glibc) 2.34, remote attackers can force iconv() to emit a spurious '\0' character via crafted ISO-2022-JP-3 data that is accompanied by an internal state reset. This may affect data integrity in certain iconv() use cases.

Reference:
https://sourceware.org/bugzilla/show_bug.cgi?id=28524

Comment 1 Guilherme de Almeida Suckevicz 2021-11-05 14:22:29 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 2020653]

Comment 4 Riccardo Schirone 2021-11-09 09:06:51 UTC
See https://sourceware.org/bugzilla/show_bug.cgi?id=28524#c4 for more details on why this is not considered a security issue.
I have requested to MITRE to reject this CVE.