Bug 1658402 (CVE-2018-18498)

Summary: CVE-2018-18498 Mozilla: Integer overflow when calculating buffer sizes for images
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: cschalle, gecko-bugs-nobody, jhorak, security-response-team, stransky
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: 2019-01-29 16:11:05 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: 1655360, 1655361, 1655362, 1660726, 1660727, 1660728, 1661346, 1667787    
Bug Blocks: 1655358, 1660724    

Description Doran Moppert 2018-12-12 00:03:07 UTC
A potential vulnerability leading to an integer overflow can occur during buffer size calculations for images when a raw value is used instead of the checked value. This leads to a possible out-of-bounds write. 



External Reference:

https://www.mozilla.org/en-US/security/advisories/mfsa2018-30/#CVE-2018-18498

Comment 2 errata-xmlrpc 2018-12-17 17:06:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2018:3831 https://access.redhat.com/errata/RHSA-2018:3831

Comment 3 errata-xmlrpc 2018-12-17 17:06:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3833 https://access.redhat.com/errata/RHSA-2018:3833

Comment 4 Doran Moppert 2019-01-21 04:58:11 UTC
Statement:

In general, this flaw be exploited through email in the Thunderbird product because scripting is disabled when reading mail, but are potentially risks in browser or browser-like contexts.

Comment 6 errata-xmlrpc 2019-01-24 22:38:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2019:0159 https://access.redhat.com/errata/RHSA-2019:0159

Comment 7 errata-xmlrpc 2019-01-24 22:42:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:0160 https://access.redhat.com/errata/RHSA-2019:0160

Comment 8 Martin Prpič 2021-02-25 20:25:07 UTC
Acknowledgments:

Name: the Mozilla project
Upstream: R (Zero Day LLC)