CVE-2020-7981
sql.rb in Geocoder before 1.6.1 allows Boolean-based SQL injection whe ...
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Ruby Advisory DB.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | geocoder | 1.6.1 |
| rubygems::Ruby Advisory Database | geocoder | >= 1.6.1 |
| debian 11 | ruby-geocoder | 1.5.1-3 |
| debian 12 | ruby-geocoder | 1.5.1-3 |
| debian 13 | ruby-geocoder | 1.5.1-3 |
| debian 14 | ruby-geocoder | 1.5.1-3 |
| echo | ruby-geocoder | 1.5.1-3 |
Referenzen
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7981
- https://github.com/alexreisner/geocoder
- https://github.com/alexreisner/geocoder/blob/master/CHANGELOG.md#161-2020-jan-23
- https://github.com/alexreisner/geocoder/commit/dcdc3d8675411edce3965941a2ca7c441ca48613
- 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://nvd.nist.gov/vuln/detail/CVE-2020-7981