CVE-2021-3905 Denial of service in openvswitch (ovs)

High 7.5 Published Updated

An attacker can exhaust system memory by sending fragmented IP packets, causing a denial of service in Open vSwitch.

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

What is CVE-2021-3905?

CVE-2021-3905 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 23 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A memory leak was found in Open vSwitch (OVS) during userspace IP fragmentation processing. An attacker could use this flaw to potentially exhaust available memory by keeping sending packet fragments.

Weakness: CWE-401

Which versions are affected by CVE-2021-3905?

It affects 4 products.

Linux distribution packages (27)
network-scripts-openvswitch2.13 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
network-scripts-openvswitch2.15 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
network-scripts-openvswitch2.16 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
openvswitch2.13 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
openvswitch2.13-debuginfo Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
openvswitch2.13-debugsource Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
openvswitch2.13-devel Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
openvswitch2.13-ipsec Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
openvswitch2.13-test Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
openvswitch2.15 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
openvswitch2.15-debuginfo Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
openvswitch2.15-debugsource Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
openvswitch2.15-devel Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
openvswitch2.15-ipsec Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
openvswitch2.15-test Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
openvswitch2.16 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
openvswitch2.16-debuginfo Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
openvswitch2.16-debugsource Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
openvswitch2.16-devel Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
openvswitch2.16-ipsec Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
openvswitch2.16-test Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
python3-openvswitch2.13 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
python3-openvswitch2.13-debuginfo Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.13.0-139.el8fdp
python3-openvswitch2.15 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
python3-openvswitch2.15-debuginfo Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.15.0-55.el8fdp
python3-openvswitch2.16 Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp
python3-openvswitch2.16-debuginfo Red Hat:enterprise_linux:8::fastdatapathAll versions0:2.16.0-86.el8fdp

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Openvswitch Openvswitch, Redhat Enterprise Linux Fast Datapath.

How do I fix CVE-2021-3905?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-3905 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-w2f8-jf7v-2cj4, OESA-2022-1778, RHBA-2022:0051, RHBA-2022:0052, RHBA-2022:5792.

Is CVE-2021-3905 in your software?

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

Check your SBOMs for free