Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-7981 EUVD-2020-0472GHSA-864j-6qpp-cmrr

SQL Injection in Geocoder

Published Jan 25, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-geocoder 1.5.1-3 —
Debian 13 ruby-geocoder 1.5.1-3 —
Debian 12 ruby-geocoder 1.5.1-3 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems geocoder < 1.6.1 1.6.1 GHSA-864j-6qpp-cmrr

References