CVE-2020-7981
CRITICALCVSS 9.8/10EPSS 1.48%
Last modified
CVE-2020-7981 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubygeocoder | Geocoder | < 1.6.1 |
References
- https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613Patch, Third Party Advisory
- https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1Release Notes, Third Party Advisory
- https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613Patch, Third Party Advisory
- https://github.com/alexreisner/geocoder/compare/v1.6.0...v1.6.1Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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, sw_lng, ne_lat, or ne_lng data.
How severe is CVE-2020-7981?
CVE-2020-7981 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.48% probability of exploitation in the next 30 days.
How do I fix CVE-2020-7981?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2020-7981?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
