{"id":"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.","aliases":["GHSA-864j-6qpp-cmrr"],"modified":"2026-04-10T04:28:22.594465Z","published":"2020-01-25T20:15:09.813Z","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alexreisner/geocoder","events":[{"introduced":"0"},{"fixed":"dfba0ceb86731c1e58ea963d0a6dca3b15c87580"},{"fixed":"dcdc3d8675411edce3965941a2ca7c441ca48613"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.6.1"}]}}],"versions":["0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.8.8","0.8.9","0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.13","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","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.7","1.1.8","v.1.5.2","v1.1.9","v1.2.0","v1.2.1","v1.2.10","v1.2.11","v1.2.12","v1.2.13","v1.2.14","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.2.6","v1.2.7","v1.2.8","v1.2.9","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.3.6","v1.3.7","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.4.5","v1.4.6","v1.4.7","v1.4.8","v1.4.9","v1.5.0","v1.5.1","v1.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7981.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}