{"id":"CVE-2023-26153","aliases":["EUVD-2023-2692","GHSA-7xvc-v44j-46fh"],"status":"published","title":"geokit-rails Command Injection vulnerability","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.\r\r**Note:**\r\r An attacker can use this vulnerability to execute commands on the host system.","severity":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.03847,"percentile":0.90225,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502","CWE-77","CWE-78"],"published":"2023-10-06T05:00:01Z","modified":"2026-10-28T02:30:44Z","fixes":[{"ecosystem":"RubyGems","package":"geokit-rails","fixed_in":["2.5.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"geokit-rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"geokit-rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.0"}]}],"versions":["1.1.4","2.0.0","2.0.0.rc1","2.0.1","2.1.0","2.2.0","2.3.0","2.3.1","2.3.2"]}],"products":[{"vendor":"geokit","product":"geokit-rails"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323","tags":["x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37","tags":["x_transferred","Broken Link","web"]},{"url":"https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f","tags":["x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26153","tags":["advisory"]},{"url":"https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb#L37","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7xvc-v44j-46fh","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geokit-rails/CVE-2023-26153.yml","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26153.json","tags":["advisory"]},{"url":"https://github.com/geokit/geokit-rails","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-26153","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.\r\r**Note:**\r\r An attacker can use this vulnerability to execute commands on the host system.","status":"published","published":"2023-10-06T05:00:01.453Z","modified":"2024-09-19T18:33:07.893Z","cvss":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:35:15.434947Z"}],"euvd":[{"id":"EUVD-2023-2692","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.\r\r**Note:**\r\r An attacker can use this vulnerability to execute commands on the host system.","status":"published","published":"2023-10-06T05:00:01Z","modified":"2024-09-19T18:33:07Z","cvss":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","level":"high"}],"updated_at":"2026-11-03T00:28:18.665654Z"}],"ghsa":[{"id":"GHSA-7xvc-v44j-46fh","title":"geokit-rails Command Injection vulnerability","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.\n\n**Note:**\n\n An attacker can use this vulnerability to execute commands on the host system.","status":"published","published":"2023-10-06T06:30:16Z","modified":"2023-11-08T05:05:03Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77","CWE-502"],"updated_at":"2026-11-02T14:37:16.721714Z"}],"nvd":[{"id":"CVE-2023-26153","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.\r\r**Note:**\r\r An attacker can use this vulnerability to execute commands on the host system.","status":"published","published":"2023-10-06T05:15:52.803Z","modified":"2026-06-17T05:42:47.8Z","cvss":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-78","CWE-502"],"updated_at":"2026-11-02T14:08:36.656095Z"}],"osv":[{"id":"CVE-2023-26153","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.\r\r**Note:**\r\r An attacker can use this vulnerability to execute commands on the host system.","status":"published","published":"2023-10-06T05:00:01.453Z","modified":"2026-10-28T02:30:44.852281379Z","cvss":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"GHSA-7xvc-v44j-46fh","title":"geokit-rails Command Injection vulnerability","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.\n\n**Note:**\n\n An attacker can use this vulnerability to execute commands on the host system.","status":"published","published":"2023-10-06T06:30:16Z","modified":"2024-02-16T08:13:57.347777Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502","CWE-77"],"updated_at":"2026-11-02T15:46:41.732368Z"}]}}
