{"id":"CVE-2020-7981","aliases":["GHSA-864j-6qpp-cmrr"],"url":"https://o3.security/vulnerability/CVE-2020-7981","summary":"SQL Injection in Geocoder","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.","published":"2020-01-25T20:15:09.813Z","modified":"2026-07-08T21:26:30.670847Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"geocoder","fixedVersion":"1.6.1"}],"fix":{"url":"https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613","label":"alexreisner/geocoder@dcdc3d8"},"references":[{"type":"ADVISORY","url":"https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1"},{"type":"FIX","url":"https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T21:26:30.670847Z"}}