CVE-2023-26153
Versions of the package geokit-rails before 2.5.0 are vulnerable to Command Injection due to unsafe deserialisation of YAML within the 'geo_location' cookie.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Versions of the package geokit-rails before 2.5.0 are vulnerable to Command Injection due to unsafe deserialisation of YAML within the 'geo_location' cookie. This issue can be exploited remotely via a malicious cookie value. **Note:** An attacker can use this vulnerability to execute commands on the host system.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.24% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-502
- Affected
- geokit/geokit-rails
- Source
- report@snyk.io
References
- https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901dExploit, Third Party Advisory
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37Broken Link
- https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43Patch
- https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482fPatch
- https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323Exploit, Patch, Third Party Advisory
- https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901dExploit, Third Party Advisory
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37Broken Link
- https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43Patch
- https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482fPatch
- https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323Exploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.