CVE-2024-2608: Integer Overflow

Published Mar 19, 2024
·
Updated

AppendEncodedAttributeValue(), ExtraSpaceNeededForAttrEncoding() and AppendEncodedCharacters() could have experienced integer overflows, causing underallocation of an output buffer leading to an out of bounds write.

External Reference: https://www.mozilla.org/en-US/security/advisories/mfsa2024-13/#CVE-2024-2608

Other sources

AppendEncodedAttributeValue(), ExtraSpaceNeededForAttrEncoding() and AppendEncodedCharacters() could have experienced integer overflows, causing underallocation of an output buffer leading to an out of bounds write. This vulnerability affects Firefox < 124, Firefox ESR < 115.9, and Thunderbird < 115.9.

— Launchpad

AppendEncodedAttributeValue(), ExtraSpaceNeededForAttrEncoding() and AppendEncodedCharacters() could have experienced integer overflows, causing underallocation of an output buffer leading to an out of bounds write.

— Mozilla

Affected Software

20 affected componentsFixes available
Mozilla Thunderbird<115.9
115.9
Mozilla Firefox<124
124
Mozilla Firefox ESR<115.9
115.9
Mozilla Firefox<115.9.0
Mozilla Firefox<124.0
Mozilla Thunderbird<115.9.0
Debian Debian Linux=10.0
redhat/firefox<115.9
115.9
redhat/thunderbird<115.9
115.9
debian/firefox-esr<115.9.0esr-1~deb12u1
115.9.0esr-1~deb12u1
debian/firefox-esr<115.9.0esr-1
115.9.0esr-1
debian/firefox-esr<115.9.0esr-1
115.9.0esr-1
debian/thunderbird<1:115.9.0-1~deb12u1
1:115.9.0-1~deb12u1
debian/thunderbird<1:115.9.0-1
1:115.9.0-1
debian/thunderbird<1:115.9.0-1
1:115.9.0-1
alpine/firefox-esr<115.9.0-r0
115.9.0-r0
alpine/firefox-esr<115.9.0-r0
115.9.0-r0
debian/firefox
160.0-1
debian/firefox-esr
140.12.0esr-1~deb12u1153.7.0esr-1~deb12u1140.15.0esr-1~deb13u1153.7.0esr-1~deb13u1153.5.1esr-1153.7.0esr-1
debian/thunderbird
1:140.12.0esr-1~deb12u11:153.7.0esr-1~deb12u11:140.12.0esr-1~deb13u11:153.7.0esr-1~deb13u11:153.5.0esr-11:153.7.0esr-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 115.9
  2. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 124
  3. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 115.9
  4. Upgrade

    Upgrade redhat/firefox to a version that resolves this vulnerability.

    Fixed in 115.9
  5. Upgrade

    Upgrade redhat/thunderbird to a version that resolves this vulnerability.

    Fixed in 115.9
  6. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.9.0esr-1~deb12u1
  7. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.9.0esr-1
  8. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:115.9.0-1~deb12u1
  9. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:115.9.0-1
  10. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.9.0-r0
  11. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 160.0-1
  12. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 140.12.0esr-1~deb12u1Fixed in 153.7.0esr-1~deb12u1Fixed in 140.15.0esr-1~deb13u1Fixed in 153.7.0esr-1~deb13u1Fixed in 153.5.1esr-1Fixed in 153.7.0esr-1
  13. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:140.12.0esr-1~deb12u1Fixed in 1:153.7.0esr-1~deb12u1Fixed in 1:140.12.0esr-1~deb13u1Fixed in 1:153.7.0esr-1~deb13u1Fixed in 1:153.5.0esr-1Fixed in 1:153.7.0esr-1

Event History

Mar 19, 2024
CVE Published
via Mozilla·12:00 AM
CVE Published
via MITRE·12:02 PM
Data Sourced
via MITRE·12:02 PM
DescriptionWeakness
Data Sourced
via OSV·12:15 PM
DescriptionSeverityAffected Software
Mar 21, 2024
Data Sourced
via Red Hat·10:37 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-2608?

CVE-2024-2608 has a moderate severity level due to potential integer overflows leading to out of bounds writes.

2

How do I fix CVE-2024-2608?

To fix CVE-2024-2608, update to Mozilla Firefox versions 124 and above, or Firefox ESR and Thunderbird versions 115.9 and above.

3

Which products are affected by CVE-2024-2608?

Affected products include Mozilla Firefox up to version 124, Firefox ESR up to version 115.9, and Thunderbird up to version 115.9.

4

What kind of vulnerability is CVE-2024-2608?

CVE-2024-2608 is an integer overflow vulnerability that can result in an output buffer underallocation.

5

Can CVE-2024-2608 lead to remote code execution?

CVE-2024-2608 could potentially lead to remote code execution due to the out of bounds write, making it a serious concern.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203