Bug 1439099 (CVE-2017-7617)

Summary: CVE-2017-7617 asterisk: Buffer overflow in CDR's set user
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: g.devel, itamar, jsmith.fedora, rbryant
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: asterisk 13.14.1, asterisk 14.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:09:57 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: 1439102, 1439103    
Bug Blocks:    

Description Andrej Nemec 2017-04-05 08:43:27 UTC
No size checking is done when setting the user field on a CDR. Thus, it is possible for someone to use an arbitrarily large string and write past the end of the user field storage buffer. This allows the possibility of remote code injection.

External References:

http://downloads.asterisk.org/pub/security/AST-2017-001.html

Upstream patches:

[Asterisk 13] http://downloads.asterisk.org/pub/security/AST-2017-001-13.diff
[Asterisk 14] http://downloads.asterisk.org/pub/security/AST-2017-001-14.diff

Upstream bug:

https://issues.asterisk.org/jira/browse/ASTERISK-26897

Comment 1 Andrej Nemec 2017-04-05 08:45:13 UTC
Created asterisk tracking bugs for this issue:

Affects: epel-6 [bug 1439102]
Affects: fedora-all [bug 1439103]

Comment 2 Product Security DevOps Team 2019-06-08 03:09:57 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.