CVE-2022-34481: Integer Overflow
In the nsTArrayImpl::ReplaceElementsAt() function, an integer overflow could have occurred when the number of elements to replace was too large for the container.
External Reference: https://www.mozilla.org/en-US/security/advisories/mfsa2022-25/#CVE-2022-34481
Other sources
In the <code>nsTArrayImpl::ReplaceElementsAt()</code> function, an integer overflow could have occurred when the number of elements to replace was too large for the container. This vulnerability affects Firefox < 102, Firefox ESR < 91.11, Thunderbird < 102, and Thunderbird < 91.11.
In the nsTArrayImpl::ReplaceElementsAt() function, an integer overflow could have occurred when the number of elements to replace was too large for the container.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Firefox ESRto a version that resolves this vulnerability.Fixed in 91.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 102 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 91.11 - Upgrade
Upgrade
redhat/firefoxto a version that resolves this vulnerability.Fixed in 91.11 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 91.11 - Upgrade
Upgrade
redhat/thunderbirdto a version that resolves this vulnerability.Fixed in 102 - Upgrade
Upgrade
alpine/firefoxto a version that resolves this vulnerability.Fixed in 102.0-r0 - Upgrade
Upgrade
alpine/firefox-esrto a version that resolves this vulnerability.Fixed in 91.11.0-r0 - Upgrade
Upgrade
alpine/librewolfto a version that resolves this vulnerability.Fixed in 102.0-r0 - Upgrade
Upgrade
alpine/thunderbirdto a version that resolves this vulnerability.Fixed in 91.11.0-r0 - Upgrade
Upgrade
alpine/thunderbirdto a version that resolves this vulnerability.Fixed in 102.0-r0 - Upgrade
Upgrade
debian/firefox-esrto a version that resolves this vulnerability.Fixed in 91.11.0esr-1 - Upgrade
Upgrade
debian/thunderbirdto a version that resolves this vulnerability.Fixed in 1:91.11.0-1 - Upgrade
Upgrade
debian/firefoxto a version that resolves this vulnerability.Fixed in 102.0-1 - Upgrade
Upgrade
debian/firefox-esrto a version that resolves this vulnerability.Fixed in 91.11.0esr-1~deb9u1Fixed in 91.11.0esr-1~deb10u1Fixed in 91.11.0esr-1~deb11u1Fixed in 91.11.0esr-1 - Upgrade
Upgrade
debian/thunderbirdto a version that resolves this vulnerability.Fixed in 1:91.11.0-1~deb10u1Fixed in 1:91.11.0-1~deb11u1Fixed in 1:91.11.0-1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Peer vulnerabilities
Found alongside the following vulnerabilities.
- CVE-2022-34479
- CVE-2022-34470
- CVE-2022-34468
- CVE-2022-34481
- CVE-2022-31744
- CVE-2022-34472
- CVE-2022-34478
- CVE-2022-2200
- CVE-2022-34484
- CVE-2022-34482
- CVE-2022-34483
- CVE-2022-34476
- CVE-2022-34474
- CVE-2022-34469
- CVE-2022-34471
- CVE-2022-34480
- CVE-2022-34477
- CVE-2022-34475
- CVE-2022-34473
- CVE-2022-34485
- CVE-2022-2226
- DLA-3064-1
Frequently Asked Questions
What is the severity of CVE-2022-34481?
CVE-2022-34481 has been classified as a moderate severity vulnerability.
How do I fix CVE-2022-34481?
To fix CVE-2022-34481, update Firefox or Thunderbird to version 102 or Firefox ESR and Thunderbird to version 91.11 or later.
Which software versions are affected by CVE-2022-34481?
CVE-2022-34481 affects Firefox versions prior to 102, Firefox ESR versions prior to 91.11, and Thunderbird versions prior to 102 and 91.11.
What type of vulnerability is CVE-2022-34481?
CVE-2022-34481 is an integer overflow vulnerability that can occur in the nsTArray_Impl::ReplaceElementsAt() function.
Who is the vendor for CVE-2022-34481?
The vendor for CVE-2022-34481 is Mozilla.