CVE-2021-22143 Elastic APM .NET Agent information disclosure

Low 2.1 Published Updated

Attackers can obtain sensitive HTTP header information leaked by the Elastic APM .NET Agent during application error logging.

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

What is CVE-2021-22143?

CVE-2021-22143 is a low-severity vulnerability in Elastic APM .NET Agent, published on 22 Nov 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

The Elastic APM .NET Agent can leak sensitive HTTP header information when logging the details during an application error. Normally, the APM agent will sanitize sensitive HTTP header details before sending the information to the APM server. During an application error it is possible the headers will not be sanitized before being sent.

Weakness: CWE-532, CWE-200

Which versions are affected by CVE-2021-22143?

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

PackageAffectedFixed in
Elastic.Apm NuGetAll versions1.10.0
Elastic.Apm NuGetAll versions1.10.0

Products include Elastic Apm .Net Agent.

How do I fix CVE-2021-22143?

Upgrade Elastic.Apm to 1.10.0 or later.

Is CVE-2021-22143 being exploited?

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

Sources

Also known as GHSA-hx93-gc73-5rpr.

Is CVE-2021-22143 in your software?

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

Check your SBOMs for free