Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTg2NGotNnFwcC1jbXJy
SQL Injection in Geocoder
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTg2NGotNnFwcC1jbXJy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 4 years ago
Updated: 10 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-864j-6qpp-cmrr, CVE-2020-7981
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-7981
- https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7981
- https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geocoder/CVE-2020-7981.yml
- https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md#161-2020-jan-23
- https://github.com/advisories/GHSA-864j-6qpp-cmrr
Blast Radius: 42.2
Affected Packages
rubygems:geocoder
Dependent packages: 155Dependent repositories: 20,163
Downloads: 67,356,287 total
Affected Version Ranges: < 1.6.1
Fixed in: 1.6.1
All affected versions: 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.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
All unaffected versions: 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.8.0, 1.8.1, 1.8.2