CSV Injection Affecting csv-safe Open this link in a new tab package, versions <3.0.0


0.0
medium
  • Attack Complexity

    Low

  • Confidentiality

    High

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