CVE-2017-15879 Keystone is vulnerable to CSV injection

High 8.8 Published Updated

Attackers can inject malicious formulas into CSV exports, potentially leading to code execution when files are opened in spreadsheet software.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-15879?

CVE-2017-15879 is a high-severity vulnerability in n/a, published on 24 Oct 2017. An attacker can exploit it over the internet without logging in, 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 admin/server/api/download.js and lib/list/getCSVData.js in KeystoneJS before 4.0.0-beta.7 via a value that is mishandled in a CSV export.

Weakness: CWE-20

Which versions are affected by CVE-2017-15879?

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

PackageAffectedFixed in
keystone npmAll versions4.0.0-beta7
keystone npmAll versions4.0.0-beta7

Products include Keystonejs Keystone.

How do I fix CVE-2017-15879?

Upgrade keystone to 4.0.0-beta7 or later.

Is CVE-2017-15879 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-6494-v9fq-fgq2.

Is CVE-2017-15879 in your software?

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

Check your SBOMs for free