{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-7981","published":"2020-01-25T20:15:09.813000Z","last_modified":"2026-06-17T03:25:44.110000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-89"],"cpes":[{"criteria":"cpe:2.3:a:rubygeocoder:geocoder:*:*:*:*:*:*:*:*","part":"a","vendor":"rubygeocoder","product":"geocoder","version_end_excluding":"1.6.1"}],"cpes_truncated":false,"vendors":["rubygeocoder"],"products":["rubygeocoder/geocoder"],"epss":{"score":0.01484,"percentile":0.74283,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-864j-6qpp-cmrr","ecosystem":"RubyGems","name":"geocoder","purl":"pkg:gem/geocoder","ranges":[{"introduced":"0","fixed":"1.6.1"}],"versions":["0.1.0","0.1.1","0.9.10","0.9.11","0.9.12","0.9.13","0.9.8","0.9.9","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.1.8","1.1.9","1.2.0","1.2.1","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5.0","1.5.1","1.5.2","1.6.0"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2020-7981/","html_en":"/en/cve/CVE-2020-7981/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-7981","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-7981"},"untrusted":{"vendor_name":"Rubygeocoder","product_name":"Geocoder","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1","tags":["Release Notes","Third Party Advisory"]}]}}