CSV Injection Affecting csv-safe package, versions <3.0.0


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.25% (65th percentile)
Expand this section
NVD
9.8 critical

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 ID SNYK-RUBY-CSVSAFE-2806369
  • published 2 May 2022
  • disclosed 2 May 2022
  • credit Danish Tariq (@danishtariqq)

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 |).