CyberSecBulletin
CVE-2024-2608NVD status: Analyzed

Firefox: Integer Overflow to Buffer Overflow

CVE-2024-2608 is a high-severity integer overflow to buffer overflow vulnerability in Firefox from Mozilla, with a CVSS 3.1 base score of 8.4 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, without any action from a user. The record lists version 124 as the first without the flaw, so updating Firefox to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.39% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Firefox to 124 or a later version.
  2. Update Firefox ESR to 115.9 or a later version.
  3. Update Thunderbird to 115.9 or a later version.
  4. Read the advisory on bugzilla.mozilla.org for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
MozillaFirefoxbefore 124124
MozillaFirefox ESRbefore 115.9115.9
MozillaThunderbirdbefore 115.9115.9
DebianDebian Linux10.0Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by CISA (ADP).

Official description

`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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Integer Overflow to Buffer Overflow

The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.

More Integer Overflow to Buffer Overflow vulnerabilities (CWE-680)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Firefox

All Firefox vulnerabilities

Recent Integer Overflow to Buffer Overflow vulnerabilities

Spotted an error? Tell us.