CVE-2024-6602 Memory corruption in NSS

Critical 9.8 Published Updated

A memory corruption vulnerability in NSS allows attackers to execute arbitrary code via mismatched allocator and deallocator functions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-6602?

CVE-2024-6602 is a critical memory corruption vulnerability in Mozilla Firefox, published on 9 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A mismatch between allocator and deallocator could have led to memory corruption. This vulnerability affects Firefox < 128, Firefox ESR < 115.13, Thunderbird < 115.13, and Thunderbird < 128.

Weakness: CWE-94

Which versions are affected by CVE-2024-6602?

It affects 2 products.

Linux distribution packages (40)
nss Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-devel Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-softokn Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-softokn-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-softokn-devel Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-softokn-freebl Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-softokn-freebl-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-softokn-freebl-devel Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-sysinit Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-sysinit-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-tools Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-util Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-util-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nss-util-devel Red Hat:enterprise_linux:8::appstreamAll versions0:3.101.0-7.el8_8
nspr Red Hat:enterprise_linux:9::appstreamAll versions0:4.35.0-14.el9_2
nspr-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:4.35.0-14.el9_2
nspr-devel Red Hat:enterprise_linux:9::appstreamAll versions0:4.35.0-14.el9_2
nss Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-devel Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-softokn Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-softokn-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-softokn-devel Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-softokn-freebl Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-softokn-freebl-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-softokn-freebl-devel Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-sysinit Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-sysinit-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-tools Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-tools-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-util Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-util-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss-util-devel Red Hat:enterprise_linux:9::appstreamAll versions0:3.101.0-7.el9_2
nss Red Hat:rhel_eus:8.8::appstreamAll versions0:3.101.0-7.el8_8
nss-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:3.101.0-7.el8_8
nss-debugsource Red Hat:rhel_eus:8.8::appstreamAll versions0:3.101.0-7.el8_8

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2024-6602?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-6602 being exploited?

There is no known exploitation of CVE-2024-6602 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-6602, GHSA-v6r5-wp7h-cj77, RHBA-2024:6679, RHBA-2024:6680, UBUNTU-CVE-2024-6602.

Is CVE-2024-6602 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free