Live threats

All CVEs / Rubygeocoder

CVE-2020-7981Rubygeocoder Geocoder

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Jan 25, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Geocoder.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems geocoder < 1.6.1 1.6.1 gem "geocoder", ">= 1.6.1"

Per OSV / GitHub Advisories (GHSA-864j-6qpp-cmrr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubygeocodergeocoder< 1.6.1

Official sources

References

Links published by the sources. Open them with care.