{"cve":"CVE-2020-7981","nvd":{"published":"2020-01-25T20:15:09.813","modified":"2026-06-17T03:25:44.110","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613","https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1","https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613","https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1"],"products":["rubygeocoder:geocoder"],"source":"nvd","synced_at":"2026-10-19T21:01:01.339895972+00:00"},"epss":{"cve":"CVE-2020-7981","score":0.01484,"percentile":0.73984,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-864j-6qpp-cmrr","url":"https://osv.dev/vulnerability/GHSA-864j-6qpp-cmrr","summary":"SQL Injection in Geocoder","modified":"2024-02-16T08:10:34.444161Z","packages":[{"ecosystem":"RubyGems","name":"geocoder","purl":"pkg:gem/geocoder","ranges":["<1.6.1"],"fixed":["1.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}