GHSA-864j-6qpp-cmrr

Suggest an improvement
Source
https://github.com/advisories/GHSA-864j-6qpp-cmrr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/06/GHSA-864j-6qpp-cmrr/GHSA-864j-6qpp-cmrr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-864j-6qpp-cmrr
Aliases
Published
2020-06-10T20:03:02Z
Modified
2024-02-16T08:10:34.444161Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
SQL Injection in Geocoder
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-89"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-10T18:28:37Z"
}
References

Affected packages

RubyGems / geocoder

Package

Name
geocoder
Purl
pkg:gem/geocoder

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.1

Affected versions

0.*

0.1.0
0.1.1
0.9.8
0.9.9
0.9.10
0.9.11
0.9.12
0.9.13

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.2.8
1.2.9
1.2.10
1.2.11
1.2.12
1.2.13
1.2.14
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.4.9
1.5.0
1.5.1
1.5.2
1.6.0