Bug 1433819

Summary: CVE-2017-5428 firefox: Mozilla: integer overflow in createImageBitmap() (MFSA 2017-08)
Product: [Fedora] Fedora Reporter: Timo Trinks <ttrinks>
Component: firefoxAssignee: Martin Stransky <stransky>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 25CC: bojan, gecko-bugs-nobody, jhorak, kengert, pjasicek, samoht0-bugzilla, samuel-rhbugs, stransky, ttrinks
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: firefox-52.0-6.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-24 18:56:42 UTC Type: Bug
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:    
Bug Blocks: 1433202    

Description Timo Trinks 2017-03-20 01:57:14 UTC
An integer overflow in <code>createImageBitmap()</code> reported through the Pwn2Own contest. The fix for this vulnerability disables the experimental <code>createImageBitmap</code> API. This function runs in the content sandbox, requiring  a second vulnerability to compromise a user's computer.


External Reference:

https://www.mozilla.org/en-US/security/advisories/mfsa2017-08/#CVE-2017-5428


Acknowledgements:

Name: the Mozilla project
Upstream: Chaitin Security Research Lab via Trend Micro's Zero Day Initiative

Comment 1 samoht0 2017-03-21 18:07:03 UTC
The fix is just shipping 52.0.1 for F24/25/26 which is available since Friday.
This issue is serious and was addressed by Mozilla very fast. What takes so long here?

Comment 2 Timo Trinks 2017-03-21 23:05:13 UTC
Does the Firefox code get rebased against upstream all the time and, hence, has the patch been included already without being mentioned in changelog? If that's the case I'd recommend to explicitly list important CVEs that have been addressed in the changelog as it's done for the RHEL version. Thanks!

Comment 3 Bojan Smojver 2017-03-22 00:21:01 UTC
(In reply to Timo Trinks from comment #2)
> Does the Firefox code get rebased against upstream all the time and, hence,
> has the patch been included already without being mentioned in changelog?

Latest builds of F25 in repositories are from 10 Mar 2017. The fix for this was published on the 17th, so I'd say unlikely.

Comment 4 Martin Stransky 2017-03-22 09:20:45 UTC
Sorry I overlooked this one. Builds are in koji now, firefox-52.0-6

Comment 5 JayJayJazz 2017-03-22 09:21:52 UTC
This is the link to the Firefox Bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=1348168

I don´t have access to this one.

The latest build on koji was released on 2017-03-13 21:29:51 called firefox-52.0-5.fcXX. This does not include the fix released by Mozilla in Firefox 52.0.1.

The fix for this vulnerability disables the experimental extensions to the createImageBitmap API.
As far as I found out, you can´t disable it via "about:config". Therefore, version 52.0.1 should be pushed quite fast.

Comment 6 Timo Trinks 2017-03-23 02:10:35 UTC
(In reply to Martin Stransky from comment #4)
> Sorry I overlooked this one. Builds are in koji now, firefox-52.0-6

Thanks, Martin! Any idea when this will hit Bodhi [1] and the official
Fedora repos subsequently? Installing it directly from Koji is only
semi-optimal...

Thanks, Timo

[1] https://bodhi.fedoraproject.org/updates/?packages=firefox

Comment 7 Fedora Update System 2017-03-23 10:20:49 UTC
firefox-52.0-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cd33654294

Comment 8 Fedora Update System 2017-03-23 19:24:25 UTC
firefox-52.0-6.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cd33654294

Comment 9 Fedora Update System 2017-03-24 18:56:42 UTC
firefox-52.0-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.