PT-2020-19896 · Ruby · Geocoder

Published

2020-01-25

·

Updated

2020-06-10

·

CVE-2020-7981

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Geocoder versions prior to 1.6.1
Description The issue allows Boolean-based SQL injection when the within bounding box function is used with untrusted sw lat, sw lng, ne lat, or ne lng data. This can occur in the sql.rb file of the Geocoder software.
Recommendations For Geocoder versions prior to 1.6.1, update to version 1.6.1 or later to resolve the issue. As a temporary workaround, consider validating and sanitizing the sw lat, sw lng, ne lat, and ne lng parameters to prevent SQL injection attacks. Restrict access to the within bounding box function until the update is applied.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-7981
GHSA-864J-6QPP-CMRR

Affected Products

Geocoder