Lucene search

K
osvGoogleOSV:GHSA-V6FX-752R-CCP2
HistoryAug 05, 2020 - 2:53 p.m.

PgHero gem allows CSRF

2020-08-0514:53:43
Google
osv.dev
13

EPSS

0.001

Percentile

30.2%

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.

EPSS

0.001

Percentile

30.2%