CVE-2022-4285 Null dereference in binutils

Medium 5.5 Published Updated

An attacker can cause a denial of service in binutils by providing a crafted ELF file with corrupt symbol version information.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-4285?

CVE-2022-4285 is a medium-severity vulnerability in Fedoraproject Fedora, published on 27 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An illegal memory access flaw was found in the binutils package. Parsing an ELF file containing corrupt symbol version information may result in a denial of service. This issue is the result of an incomplete fix for CVE-2020-16599.

Weakness: CWE-476

Which versions are affected by CVE-2022-4285?

It affects 3 products.

Linux distribution packages (40)
binutils AlmaLinux:8All versions2.30-119.el8_8.2
binutils-devel AlmaLinux:8All versions2.30-119.el8_8.2
gcc-toolset-12-binutils AlmaLinux:8All versions2.38-17.el8
gcc-toolset-12-binutils-devel AlmaLinux:8All versions2.38-17.el8
gcc-toolset-12-binutils-gold AlmaLinux:8All versions2.38-17.el8
binutils AlmaLinux:9All versions2.35.2-42.el9
binutils-devel AlmaLinux:9All versions2.35.2-42.el9
binutils-gold AlmaLinux:9All versions2.35.2-42.el9
binutils-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.30-119.el8_8.2
binutils-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.30-119.el8_8.2
binutils-devel Red Hat:enterprise_linux:8::appstreamAll versions0:2.30-119.el8_8.2
gcc-toolset-12-binutils Red Hat:enterprise_linux:8::appstreamAll versions0:2.38-17.el8
gcc-toolset-12-binutils-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.38-17.el8
gcc-toolset-12-binutils-devel Red Hat:enterprise_linux:8::appstreamAll versions0:2.38-17.el8
gcc-toolset-12-binutils-gold Red Hat:enterprise_linux:8::appstreamAll versions0:2.38-17.el8
gcc-toolset-12-binutils-gold-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.38-17.el8
binutils Red Hat:enterprise_linux:8::baseosAll versions0:2.30-119.el8_8.2
binutils-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:2.30-119.el8_8.2
binutils-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:2.30-119.el8_8.2
binutils-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.35.2-42.el9
binutils-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.35.2-42.el9
binutils-devel Red Hat:enterprise_linux:9::appstreamAll versions0:2.35.2-42.el9
binutils-gold-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.35.2-42.el9
cross-binutils-aarch64-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.35.2-42.el9
cross-binutils-ppc64le-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.35.2-42.el9
cross-binutils-s390x-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.35.2-42.el9
binutils Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
binutils-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
binutils-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
binutils-gold Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
binutils-gold-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
cross-binutils-aarch64-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
cross-binutils-ppc64le-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
cross-binutils-s390x-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:2.35.2-42.el9
binutils-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:2.30-113.el8_6.2
binutils-debugsource Red Hat:rhel_eus:8.6::appstreamAll versions0:2.30-113.el8_6.2
binutils-devel Red Hat:rhel_eus:8.6::appstreamAll versions0:2.30-113.el8_6.2
binutils Red Hat:rhel_eus:8.6::baseosAll versions0:2.30-113.el8_6.2
binutils-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:2.30-113.el8_6.2
binutils-debugsource Red Hat:rhel_eus:8.6::baseosAll versions0:2.30-113.el8_6.2

Products include Fedoraproject Fedora, Gnu Binutils, Redhat Enterprise Linux.

How do I fix CVE-2022-4285?

Apply the vendor's patch.

Is CVE-2022-4285 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2023:2873, ALSA-2023:6236, ALSA-2023:6593, AZL-13114, BELL-CVE-2022-4285, DEBIAN-CVE-2022-4285 and 9 more.

Is CVE-2022-4285 in your software?

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

Check your SBOMs for free