CVE-2018-18498
Mozilla: Integer overflow when calculating buffer sizes for images
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Amazon. Rated lower by Red Hat (high), Oracle (high), Ubuntu (low).
Description
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. This vulnerability affects Thunderbird < 60.4, Firefox ESR < 60.4, and Firefox < 64.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 2 | thunderbird, thunderbird-debuginfo | 60.5.0-1.amzn2.0.1 |
| debian 11 | firefox-esr, thunderbird | 60.4.0esr-1 and 1 more |
| debian 12 | firefox-esr, thunderbird | 60.4.0esr-1 and 1 more |
| debian 13 | firefox-esr, thunderbird | 60.4.0esr-1 and 1 more |
| debian 14 | firefox-esr, thunderbird | 60.4.0esr-1 and 1 more |
| debian 8 | firefox-esr, thunderbird | 60.4.0esr-1~deb8u1 and 1 more |
| debian 9 | firefox-esr, thunderbird | 60.4.0esr-1~deb9u1 and 1 more |
| echo | firefox-esr, thunderbird | 60.4.0esr-1 and 1 more |
| Oracle Linux 6 | firefox, thunderbird | 60.4.0-1.0.1.el6 |
| Oracle Linux 7 | firefox, thunderbird | 60.4.0-1.0.1.el7 and 1 more |
| ubuntu 14.04 | firefox, thunderbird | 64.0+build3-0ubuntu0.14.04.1 and 1 more |
| ubuntu 16.04 | firefox, thunderbird | 64.0+build3-0ubuntu0.16.04.1 and 1 more |
Show all 28 entries from 14 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 2 | thunderbird | 60.5.0-1.amzn2.0.1 |
| amazon linux 2 | thunderbird-debuginfo | 60.5.0-1.amzn2.0.1 |
| debian 11 | firefox-esr | 60.4.0esr-1 |
| debian 11 | thunderbird | 1:60.4.0-1 |
| debian 12 | firefox-esr | 60.4.0esr-1 |
| debian 12 | thunderbird | 1:60.4.0-1 |
| debian 13 | firefox-esr | 60.4.0esr-1 |
| debian 13 | thunderbird | 1:60.4.0-1 |
| debian 14 | firefox-esr | 60.4.0esr-1 |
| debian 14 | thunderbird | 1:60.4.0-1 |
| debian 8 | firefox-esr | 60.4.0esr-1~deb8u1 |
| debian 8 | thunderbird | 1:60.4.0-1~deb8u1 |
| debian 9 | firefox-esr | 60.4.0esr-1~deb9u1 |
| debian 9 | thunderbird | 1:60.4.0-1~deb9u1 |
| echo | firefox-esr | 60.4.0esr-1 |
| echo | thunderbird | 1:60.4.0-1 |
| Oracle Linux 6 | firefox | 60.4.0-1.0.1.el6 |
| Oracle Linux 6 | thunderbird | 60.4.0-1.0.1.el6 |
| Oracle Linux 7 | firefox | 60.4.0-1.0.1.el7 |
| Oracle Linux 7 | thunderbird | 60.4.0-1.0.1.el7_6 |
| ubuntu 14.04 | firefox | 64.0+build3-0ubuntu0.14.04.1 |
| ubuntu 14.04 | thunderbird | 1:60.4.0+build2-0ubuntu0.14.04.1 |
| ubuntu 16.04 | firefox | 64.0+build3-0ubuntu0.16.04.1 |
| ubuntu 16.04 | thunderbird | 1:60.4.0+build2-0ubuntu0.16.04.1 |
| ubuntu 18.04 | firefox | 64.0+build3-0ubuntu0.18.04.1 |
| ubuntu 18.04 | thunderbird | 1:60.4.0+build2-0ubuntu0.18.04.1 |
| ubuntu 18.10 | firefox | 64.0+build3-0ubuntu0.18.10.1 |
| ubuntu 18.10 | thunderbird | 1:60.4.0+build2-0ubuntu0.18.10.1 |
References
- http://www.securityfocus.com/bid/106168
- https://access.redhat.com/errata/RHSA-2018:3831
- https://access.redhat.com/errata/RHSA-2018:3833
- https://access.redhat.com/errata/RHSA-2019:0159
- https://access.redhat.com/errata/RHSA-2019:0160
- https://access.redhat.com/security/cve/CVE-2018-18498
- https://bugzilla.mozilla.org/show_bug.cgi?id=1500011
- https://linux.oracle.com/cve/CVE-2018-18498.html
All 25 references
- https://linux.oracle.com/errata/ELSA-2019-0160.html
- https://lists.debian.org/debian-lts-announce/2018/12/msg00002.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-18498
- https://security.gentoo.org/glsa/201903-04
- https://ubuntu.com/security/notices/USN-3844-1
- https://ubuntu.com/security/notices/USN-3868-1
- https://usn.ubuntu.com/3844-1/
- https://usn.ubuntu.com/3868-1/
- https://www.cve.org/CVERecord?id=CVE-2018-18498
- https://www.debian.org/security/2018/dsa-4354
- https://www.debian.org/security/2019/dsa-4362
- https://www.mozilla.org/en-US/security/advisories/mfsa2018-29/#CVE-2018-18498
- https://www.mozilla.org/en-US/security/advisories/mfsa2018-30/#CVE-2018-18498
- https://www.mozilla.org/en-US/security/advisories/mfsa2018-31/#CVE-2018-18498
- https://www.mozilla.org/security/advisories/mfsa2018-29/
- https://www.mozilla.org/security/advisories/mfsa2018-30/
- https://www.mozilla.org/security/advisories/mfsa2018-31/