All reports
Critical

SQL Injection in Geocoder

Affected versions

RubyGemsgeocoder
Affected versions
< 1.6.1
Fixed version
1.6.1

Exploitation

CVE-2020-7981

Probability of exploitation in the next 30 days: 1.48%

FIRST EPSS · 2026-11-23

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.

Links