CVE-2020-16253 json
PgHero gem allows CSRF
published 6y ago modified 4mo ago also GHSA-v6fx-752r-ccp2 , EUVD-2020-0642
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
The PgHero gem through 2.6.0 for Ruby allows CSRF.
Patch / fix
Is CVE-2020-16253 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | pghero | <2.7.0 |
2.7.0 |
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/ankane/pghero/commit/14b67b32fed19a30aaf9826ee72f2a29cda604e9
web
-
github.com
/ankane/pghero/
third-party-advisory
-
github.com
/ankane/pghero/issues/330
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-16253
advisory
-
github.com
/ankane/pghero
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/pghero/CVE-2020-16253.yml
web
Sources
- CVE List CVE-2020-16253
- GitHub Advisory GHSA-v6fx-752r-ccp2
- NVD CVE-2020-16253
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.