GitHub Advisoryadvisory · RubyGems

GHSA-864j-6qpp-cmrr SQL Injection in Geocoder

CRITICAL Published 2020-06-10 Modified 2023-07-05 Official page ↗
Aliases
CVE-2020-7981
Ecosystem
RubyGems
Packages
geocoder
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2020-06-10

Affected packages

• RubyGems geocoder: < 1.6.1 → fixed in 1.6.1

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.

Related

Alias · CVE (1)

  • CVE-2020-7981 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,… vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References