CVE-2021-43515 Improper Neutralization of Formula Elements in a CSV File in Kimai 2

High 7.8 Published Updated

Attackers can execute arbitrary code on victims' machines by injecting malicious formulas into the timesheet description field, which triggers when the data is exported to CSV.

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

CVE-2021-43515 is a high-severity vulnerability in n/a, published on 8 Apr 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

CSV Injection (aka Excel Macro Injection or Formula Injection) exists in creating new timesheet in Kimai. By filling the Description field with malicious payload, it will be mistreated while exporting to a CSV file.

Weakness: CWE-1236

Which versions are affected by CVE-2021-43515?

2 open source packages ship an affected version, including kevinpapst/kimai2. It affects 1 product.

PackageAffectedFixed in
kevinpapst/kimai2 PackagistAll versions1.14.1
kevinpapst/kimai2 PackagistAll versions1.14.1

Products include Kimai Kimai.

How do I fix CVE-2021-43515?

Upgrade kevinpapst/kimai2 to 1.14.1 or later.

Is CVE-2021-43515 being exploited?

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

Sources

Also known as GHSA-64fq-9c6w-rq44.

Is CVE-2021-43515 in your software?

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

Check your SBOMs for free