原始 OSV JSON{
"id": "GHSA-864j-6qpp-cmrr",
"aliases": [
"CVE-2020-7981"
],
"details": "sql.rb in Geocoder before 1.6.1 allows Boolean-based SQL injection when `within_bounding_box` is used in conjunction with untrusted `sw_lat`, `sw_lng`, `ne_lat`, or `ne_lng` data.",
"summary": "SQL Injection in Geocoder",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.1"
}
]
}
],
"package": {
"name": "geocoder",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-07-05T19:29:08Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2020-06-10T20:03:02Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7981",
"type": "ADVISORY"
},
{
"url": "https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613",
"type": "WEB"
},
{
"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7981",
"type": "WEB"
},
{
"url": "https://github.com/alexreisner/geocoder",
"type": "PACKAGE"
},
{
"url": "https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md#161-2020-jan-23",
"type": "WEB"
},
{
"url": "https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geocoder/CVE-2020-7981.yml",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-10T18:28:37Z"
}
}