SQL Injection The advisory has been revoked - it doesn't affect any version of package ruby-geocoder  (opens in a new tab)


Threat Intelligence

EPSS
1.48% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-RUBYGEOCODER-610521
  • published10 Sept 2020
  • disclosed25 Jan 2020

Introduced: 25 Jan 2020

CVE-2020-7981  (opens in a new tab)
CWE-89  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-geocoder package and not the ruby-geocoder package as distributed by Ubuntu.

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.