Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730418 (CVE-2020-12402, CVE-2020-12415, CVE-2020-12416, CVE-2020-12422, CVE-2020-12424, CVE-2020-12425, CVE-2020-12426, MFSA-2020-25) - <www-client/firefox{,-bin}-{68.10.0,78.0.1}: multiple vulnerabilities (MFSA-2020-25)
Summary: <www-client/firefox{,-bin}-{68.10.0,78.0.1}: multiple vulnerabilities (MFSA-2...
Status: RESOLVED FIXED
Alias: CVE-2020-12402, CVE-2020-12415, CVE-2020-12416, CVE-2020-12422, CVE-2020-12424, CVE-2020-12425, CVE-2020-12426, MFSA-2020-25
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Security
URL: https://www.mozilla.org/en-US/securit...
Whiteboard: A2 [glsa+]
Keywords: CC-ARCHES
Depends on:
Blocks: CVE-2020-12417, CVE-2020-12418, CVE-2020-12419, CVE-2020-12420, CVE-2020-12421
  Show dependency tree
 
Reported: 2020-07-01 21:24 UTC by John Helmert III
Modified: 2020-07-26 23:39 UTC (History)
2 users (show)

See Also:
Package list:
=www-client/firefox-68.10.0
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-07-01 21:24:52 UTC
These affect both <www-client/firefox{,-bin}-68.10.0 and <www-client/firefox{,-bin}-78.0 and are fixed in 68.10.0 and 78.0 respectively:

j
CVE-2020-12417:

Due to confusion about ValueTags on JavaScript Objects, an object may pass through the type barrier, resulting in memory corruption and a potentially exploitable crash.
Note: this issue only affects Firefox on ARM64 platforms.

CVE-2020-12418:

Manipulating individual parts of a URL object could have caused an out-of-bounds read, leaking process memory to malicious JavaScript.

CVE-2020-12419:

When processing callbacks that occurred during window flushing in the parent process, the associated window may die; causing a use-after-free condition. This could have led to memory corruption and a potentially exploitable crash.

CVE-2020-12420:

When trying to connect to a STUN server, a race condition could have caused a use-after-free of a pointer, leading to memory corruption and a potentially exploitable crash.

CVE-2020-12421:

When performing add-on updates, certificate chains terminating in non-built-in-roots were rejected (even if they were legitimately added by an administrator.) This could have caused add-ons to become out-of-date silently without notification to the user.



These affect <www-client/firefox{,-bin}-78.0 and are fixed in 78.0:


CVE-2020-12402:

During RSA key generation, bignum implementations used a variation of the Binary Extended Euclidean Algorithm which entailed significantly input-dependent flow. This allowed an attacker able to perform electromagnetic-based side channel attacks to record traces leading to the recovery of the secret primes.
We would like to thank Sohaib ul Hassan for contributing a fix for this issue as well.
Note: An unmodified Firefox browser does not generate RSA keys in normal operation and is not affected, but products built on top of it might. 

CVE-2020-12415:

When %2F was present in a manifest URL, Firefox's AppCache behavior may have become confused and allowed a manifest to be served from a subdirectory. This could cause the appcache to be used to service requests for the top level directory.

CVE-2020-12416:

A VideoStreamEncoder may have been freed in a race condition with VideoBroadcaster::AddOrUpdateSink, resulting in a use-after-free, memory corruption, and a potentially exploitable crash.

CVE-2020-12422:

In non-standard configurations, a JPEG image created by JavaScript could have caused an internal variable to overflow, resulting in an out of bounds write, memory corruption, and a potentially exploitable crash.

CVE-2020-12424:

When constructing a permission prompt for WebRTC, a URI was supplied from the content process. This URI was untrusted, and could have been the URI of an origin that was previously granted permission; bypassing the prompt.

CVE-2020-12425:

Due to confusion processing a hyphen character in Date.parse(), a one-byte out of bounds read could have occurred, leading to potential information disclosure.

CVE-2020-12426:

Mozilla developers and community members Bob Clary, Benjamin Bouvier, Calixte Denizet, Christian Holler reported memory safety bugs present in Firefox 77. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-07-01 21:28:38 UTC
Since URL field isn't a comma-separated list...

Firefox 78 advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2020-24/

Firefox ESR 68.10 advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2020-25/
Comment 2 Larry the Git Cow gentoo-dev 2020-07-05 19:12:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a18e688e092dd48466164756e33269bde861ee5b

commit a18e688e092dd48466164756e33269bde861ee5b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-07-05 19:12:14 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-07-05 19:12:26 +0000

    www-client/firefox: amd64 & x86 stable
    
    Bug: https://bugs.gentoo.org/730418
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/firefox-68.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-07-05 19:13:00 UTC
amd64 & x86 stable
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-06 11:31:33 UTC
arm64 stable

----
Please cleanup.
Comment 5 Larry the Git Cow gentoo-dev 2020-07-07 15:06:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07d00b64a49ff88633acc174be85d0c9eba253f6

commit 07d00b64a49ff88633acc174be85d0c9eba253f6
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-07-07 15:04:18 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-07-07 15:06:00 +0000

    www-client/firefox-bin: security cleanup
    
    Bug: https://bugs.gentoo.org/730418
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 profiles/package.mask                            |   5 -
 www-client/firefox-bin/Manifest                  | 179 --------------
 www-client/firefox-bin/firefox-bin-52.9.0.ebuild | 183 --------------
 www-client/firefox-bin/firefox-bin-77.0.1.ebuild | 296 -----------------------
 4 files changed, 663 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc557099d0d9b5786ce72f7b79350be1a0febf2

commit 2fc557099d0d9b5786ce72f7b79350be1a0febf2
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-07-07 15:00:33 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-07-07 15:05:59 +0000

    www-client/firefox: security cleanup
    
    Bug: https://bugs.gentoo.org/730418
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 profiles/base/package.use.mask                     |   2 -
 profiles/package.mask                              |   1 -
 www-client/firefox/Manifest                        | 278 -------
 .../files/firefox-52.9.0-blessings-TERM.patch      |  56 --
 www-client/firefox/firefox-52.9.0-r1.ebuild        | 409 ---------
 www-client/firefox/firefox-68.9.0.ebuild           | 899 --------------------
 www-client/firefox/firefox-77.0.1.ebuild           | 913 ---------------------
 www-client/firefox/metadata.xml                    |   4 -
 8 files changed, 2562 deletions(-)
Comment 6 GLSAMaker/CVETool Bot gentoo-dev 2020-07-26 23:39:45 UTC
This issue was resolved and addressed in
 GLSA 202007-10 at https://security.gentoo.org/glsa/202007-10
by GLSA coordinator Sam James (sam_c).