CVE-2023-26153
Severity CVSS v4.0:
Pending analysis
Type:
CWE-502
Deserialization of Untrusted Dat
Publication date:
06/10/2023
Last modified:
07/11/2023
Description
Versions of the package geokit-rails before 2.5.0 are vulnerable to Command Injection due to unsafe deserialisation of YAML within the &#39;geo_location&#39; cookie. This issue can be exploited remotely via a malicious cookie value.<br />
<br />
**Note:**<br />
<br />
An attacker can use this vulnerability to execute commands on the host system.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:geokit:geokit-rails:*:*:*:*:*:rails:*:* | 2.5.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37
- https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43
- https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f
- https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323



