原始 OSV JSON{
"id": "GHSA-v6fx-752r-ccp2",
"aliases": [
"CVE-2020-16253"
],
"details": "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.",
"summary": "PgHero gem allows CSRF",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.0"
}
]
}
],
"package": {
"name": "pghero",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-08-25T22:21:14Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
}
],
"published": "2020-08-05T14:53:43Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-16253",
"type": "ADVISORY"
},
{
"url": "https://github.com/ankane/pghero/issues/330",
"type": "WEB"
},
{
"url": "https://github.com/ankane/pghero/commit/14b67b32fed19a30aaf9826ee72f2a29cda604e9",
"type": "WEB"
},
{
"url": "https://github.com/ankane/pghero",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pghero/CVE-2020-16253.yml",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-05T14:51:45Z"
}
}