logo

CVE-2020-16253 pghero

Package

Manager: gem
Name: pghero
Vulnerable Version: >=0 <2.7.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00101 pctl0.28497

Details

PgHero gem allows CSRF The PgHero gem through 2.6.0 for Ruby allows CSRF. PgHero normally uses the `protect_from_forgery` method from Rails to prevent CSRF. However, this defaults to `:null_session`, which has no effect on non-session based authentication methods. Thus the ruby gem is vulnerable with non-session based authentication methods like basic authentication.

Metadata

Created: 2020-08-05T14:53:43Z
Modified: 2023-08-25T22:21:14Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-v6fx-752r-ccp2/GHSA-v6fx-752r-ccp2.json
CWE IDs: ["CWE-352"]
Alternative ID: GHSA-v6fx-752r-ccp2
Finding: F007
Auto approve: 1