CSV Injection Affecting csv-safe package, versions <3.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.53% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-CSVSAFE-2806369
  • published2 May 2022
  • disclosed2 May 2022
  • creditDanish Tariq (@danishtariqq)

Introduced: 2 May 2022

CVE-2022-28481  (opens in a new tab)
CWE-1236  (opens in a new tab)

How to fix?

Upgrade csv-safe to version 3.0.0 or higher.

Overview

csv-safe is a decorates the ruby CSV library to sanitize output CSV against CSV injection attacks.

Affected versions of this package are vulnerable to CSV Injection by not filtering out special characters (% and |).

CVSS Scores

version 3.1