CVE-2021-31819 Remote Code Execution in Halibut

Critical 9.8 Published Updated

A deserialization vulnerability in the Halibut library allows remote code execution on systems that trust each other via certificate verification.

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-31819?

CVE-2021-31819 is a critical unsafe deserialization vulnerability in Octopus Deploy Halibut, published on 22 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Halibut versions prior to 4.4.7 there is a deserialisation vulnerability that could allow remote code execution on systems that already trust each other based on certificate verification.

Weakness: CWE-502

Which versions are affected by CVE-2021-31819?

2 open source packages ship an affected version, including Halibut. It affects 1 product.

PackageAffectedFixed in
Halibut NuGetAll versions4.4.7
Halibut NuGetAll versions4.4.7

Products include Octopus Halibut.

How do I fix CVE-2021-31819?

Upgrade Halibut to 4.4.7 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2021-31819 being exploited?

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

Sources

Also known as GHSA-hpf7-4c2g-9chf.

Is CVE-2021-31819 in your software?

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

Check your SBOMs for free