CVE-2021-41043 Use after free in tcpslice

Medium 5.5 Published Updated

A use-after-free vulnerability in tcpslice can cause a crash, primarily affecting network analysts and developers using this tool.

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-2021-41043?

CVE-2021-41043 is a medium-severity use after free vulnerability in The Tcpdump Group tcpslice, published on 5 Jan 2022. 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

Use after free in tcpslice triggers AddressSanitizer, no other confirmed impact.

Weakness: CWE-416

Which versions are affected by CVE-2021-41043?

It affects 1 product.

Linux distribution packages (19)
tcpdump AlmaLinux:8All versions14:4.9.3-3.el8_9.1.alma.1
tcpdump AlmaLinux:9All versions14:4.99.0-9.el9
tcpdump Red Hat:enterprise_linux:8::appstreamAll versions14:4.9.3-3.el8_9.1
tcpdump-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions14:4.9.3-3.el8_9.1
tcpdump-debugsource Red Hat:enterprise_linux:8::appstreamAll versions14:4.9.3-3.el8_9.1
tcpdump Red Hat:enterprise_linux:9::appstreamAll versions14:4.99.0-9.el9
tcpdump-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions14:4.99.0-9.el9
tcpdump-debugsource Red Hat:enterprise_linux:9::appstreamAll versions14:4.99.0-9.el9
tcpdump Red Hat:rhel_eus:8.6::appstreamAll versions14:4.9.3-3.el8_6.1
tcpdump-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions14:4.9.3-3.el8_6.1
tcpdump-debugsource Red Hat:rhel_eus:8.6::appstreamAll versions14:4.9.3-3.el8_6.1
tcpdump Red Hat:rhel_eus:8.8::appstreamAll versions14:4.9.3-3.el8_8.1
tcpdump-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions14:4.9.3-3.el8_8.1
tcpdump-debugsource Red Hat:rhel_eus:8.8::appstreamAll versions14:4.9.3-3.el8_8.1
tcpdump Red Hat:rhel_eus:9.2::appstreamAll versions14:4.99.0-6.el9_2.1
tcpdump-debuginfo Red Hat:rhel_eus:9.2::appstreamAll versions14:4.99.0-6.el9_2.1
tcpdump-debugsource Red Hat:rhel_eus:9.2::appstreamAll versions14:4.99.0-6.el9_2.1
tcpdump Rocky Linux:8All versions4:4.9.3-3.el8_9.1
tcpdump Rocky Linux:9All versions4:4.99.0-9.el9

Products include Tcpdump Tcpslice.

How do I fix CVE-2021-41043?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-41043 being exploited?

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

Sources

Also known as ALSA-2024:0769, ALSA-2024:2211, DEBIAN-CVE-2021-41043, GHSA-hgc7-hm7p-p5cj, RHSA-2024:0410, RHSA-2024:0571 and 6 more.

Is CVE-2021-41043 in your software?

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

Check your SBOMs for free