{"id":"CVE-2023-26153","aliases":["CVE-2023-26153","GHSA-7xvc-v44j-46fh"],"related":[],"kind":"vulnerability","state":"published","title":"geokit-rails Command Injection vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las versiones del paquete geokit-rails anteriores a la 2.5.0 son vulnerables a la inyección de comandos debido a una deserialización insegura de YAML dentro de la cookie 'geo_location'. Este problema se puede explotar de forma remota mediante un valor de cookie malicioso. **Nota:** Un atacante puede utilizar esta vulnerabilidad para ejecutar comandos en el host system.","source":"nvd"}],"published":"2023-10-06T05:00:01.453Z","modified":"2026-06-17T05:42:47.800Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-77","CWE-78","CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.5.0","status":"affected"}],"product":"geokit-rails","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.5.0"}],"ecosystem":"RubyGems","package":"geokit-rails","purl":"pkg:gem/geokit-rails","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.5.0"}],"vendor":"geokit","product":"geokit-rails","cpe":"cpe:2.3:a:geokit:geokit-rails:*:*:*:*:*:rails:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323","tags":["exploit","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26153","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-7xvc-v44j-46fh","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/geokit/geokit-rails","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb#L37","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geokit-rails/CVE-2023-26153.yml","tags":["web"],"sources":["ghsa"]}],"credits":["Calum Hutton"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-09-19T18:32:52.178Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26153","url":"https://www.cve.org/CVERecord?id=CVE-2023-26153","licence":"CVE Terms of Use","modified":"2024-09-19T18:33:07.893Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7xvc-v44j-46fh","url":"https://github.com/advisories/GHSA-7xvc-v44j-46fh","licence":"CC-BY-4.0","modified":"2024-02-16T08:13:57.347Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26153","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26153","licence":"Public domain","modified":"2026-06-17T05:42:47.800Z"}],"updatedAt":"2026-11-25T22:58:28.491Z","epss":{"score":0.03847,"percentile":0.90398,"date":"2026-12-01T12:00:22.000Z"}}