SQL Injection Affecting marginalia package, versions <1.6.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.14% (49th 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-MARGINALIA-461068
  • published 6 Sep 2019
  • disclosed 20 Sep 2018
  • credit Unknown

How to fix?

Upgrade marginalia to version 1.6.0 or higher.

Overview

marginalia is a gem that Attach comments to your ActiveRecord queries.

Affected versions of this package are vulnerable to SQL Injection via Marginalia::Comment. All SQL queries are affected when a user controller argument is added as a component. This affects users that add a component that is user controller, for instance a parameter or a header.

References