Bug 1517922 (CVE-2017-16879)

Summary: CVE-2017-16879 ncurses: Stack-based buffer overflow in the _nc_write_entry function
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: mlichvar
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: 2017-11-28 09:51:22 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: 1517923    
Bug Blocks: 1517924    

Description Adam Mariš 2017-11-27 17:16:20 UTC
Stack-based buffer overflow in the _nc_write_entry function in tinfo/write_entry.c in ncurses 6.0 allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted terminfo file, as demonstrated by tic.

References:

https://cxsecurity.com/issue/WLB-2017110106

Comment 1 Adam Mariš 2017-11-27 17:16:43 UTC
Created ncurses tracking bugs for this issue:

Affects: fedora-all [bug 1517923]

Comment 2 Stefan Cornelius 2017-11-28 09:51:22 UTC
fortify source mitigates this to a crash only.

Comment 3 Stefan Cornelius 2017-11-28 09:51:30 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.