CVE-2023-0767 Memory corruption in Firefox

High 8.8 Published Updated

An attacker can achieve arbitrary memory writes and potential code execution by crafting a malicious PKCS 12 certificate bundle.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-0767?

CVE-2023-0767 is a high-severity memory corruption vulnerability in Mozilla Firefox, published on 2 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An attacker could construct a PKCS 12 cert bundle in such a way that could allow for arbitrary memory writes via PKCS 12 Safe Bag attributes being mishandled. This vulnerability affects Firefox < 110, Thunderbird < 102.8, and Firefox ESR < 102.8.

Which versions are affected by CVE-2023-0767?

It affects 3 products.

Linux distribution packages (40)
nss AlmaLinux:8All versions3.79.0-11.el8_7
nss-devel AlmaLinux:8All versions3.79.0-11.el8_7
nss-softokn AlmaLinux:8All versions3.79.0-11.el8_7
nss-softokn-devel AlmaLinux:8All versions3.79.0-11.el8_7
nss-softokn-freebl AlmaLinux:8All versions3.79.0-11.el8_7
nss-softokn-freebl-devel AlmaLinux:8All versions3.79.0-11.el8_7
nss-sysinit AlmaLinux:8All versions3.79.0-11.el8_7
nss-tools AlmaLinux:8All versions3.79.0-11.el8_7
nss-util AlmaLinux:8All versions3.79.0-11.el8_7
nss-util-devel AlmaLinux:8All versions3.79.0-11.el8_7
nspr AlmaLinux:9All versions4.34.0-17.el9_1
nspr-devel AlmaLinux:9All versions4.34.0-17.el9_1
nss AlmaLinux:9All versions3.79.0-17.el9_1
nss-devel AlmaLinux:9All versions3.79.0-17.el9_1
nss-softokn AlmaLinux:9All versions3.79.0-17.el9_1
nss-softokn-devel AlmaLinux:9All versions3.79.0-17.el9_1
nss-softokn-freebl AlmaLinux:9All versions3.79.0-17.el9_1
nss-softokn-freebl-devel AlmaLinux:9All versions3.79.0-17.el9_1
nss-sysinit AlmaLinux:9All versions3.79.0-17.el9_1
nss-tools AlmaLinux:9All versions3.79.0-17.el9_1
nss-util AlmaLinux:9All versions3.79.0-17.el9_1
nss-util-devel AlmaLinux:9All versions3.79.0-17.el9_1
nss Red Hat:enterprise_linux:7::clientAll versions0:3.79.0-5.el7_9
nss-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:3.79.0-5.el7_9
nss-devel Red Hat:enterprise_linux:7::clientAll versions0:3.79.0-5.el7_9
nss-pkcs11-devel Red Hat:enterprise_linux:7::clientAll versions0:3.79.0-5.el7_9
nss-sysinit Red Hat:enterprise_linux:7::clientAll versions0:3.79.0-5.el7_9
nss-tools Red Hat:enterprise_linux:7::clientAll versions0:3.79.0-5.el7_9
nss-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:3.79.0-5.el7_9
nss-devel Red Hat:enterprise_linux:7::computenodeAll versions0:3.79.0-5.el7_9
nss-pkcs11-devel Red Hat:enterprise_linux:7::computenodeAll versions0:3.79.0-5.el7_9
nss Red Hat:enterprise_linux:7::serverAll versions0:3.79.0-5.el7_9
nss-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:3.79.0-5.el7_9
nss-devel Red Hat:enterprise_linux:7::serverAll versions0:3.79.0-5.el7_9
nss-pkcs11-devel Red Hat:enterprise_linux:7::serverAll versions0:3.79.0-5.el7_9
nss-sysinit Red Hat:enterprise_linux:7::serverAll versions0:3.79.0-5.el7_9
nss-tools Red Hat:enterprise_linux:7::serverAll versions0:3.79.0-5.el7_9
nss Red Hat:enterprise_linux:7::workstationAll versions0:3.79.0-5.el7_9
nss-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:3.79.0-5.el7_9
nss-devel Red Hat:enterprise_linux:7::workstationAll versions0:3.79.0-5.el7_9

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2023-0767?

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-2023-0767 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as ALSA-2023:1252, ALSA-2023:1368, CLSA-2023-1681327540, CLSA-2023-1681327693, CLSA-2023-1681328662, CLSA-2023-1681739907 and 21 more.

Is CVE-2023-0767 in your software?

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

Check your SBOMs for free