Cross-site Request Forgery (CSRF)

Affecting actionview gem, versions <5.2.4.3 || >=6.0.0, <6.0.3.1

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

actionview is a simple, battle-tested conventions and helpers for building web pages.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). An attacker might be able to set the href attribute of an anchor tag or the action attribute of a form tag that will trigger a POST action to a cross-origin URL.

This is a regression of CVE-2015-1840.

Remediation

Upgrade actionview to version 5.2.4.3, 6.0.3.1 or higher.

References

CVSS Score

5.3
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Credit
Unknown
CVE
CVE-2020-8167
CWE
CWE-352
Snyk ID
SNYK-RUBY-ACTIONVIEW-569601
Disclosed
19 May, 2020
Published
19 May, 2020