{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-26153","id":"CVE-2023-26153","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.","descriptionLong":"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.","published":"2023-10-06T05:00:01.453Z","updated":"2026-10-28T02:30:44.852281379Z","reserved":"2023-02-20T10:28:48.930Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"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","rating":"high","source":"snyk"},"metrics":[{"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","rating":"high","source":"snyk"},{"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","rating":"high","source":"snyk.io"},{"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","rating":"critical","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"critical","source":"GitHub"}],"rating":"high","products":["geokit-rails"],"affectedProducts":[{"vendor":"n/a","product":"geokit-rails","defaultStatus":null,"versions":[{"version":"0","lessThan":"2.5.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"geokit-rails","purl":"pkg:gem/geokit-rails","ranges":["<2.5.0"],"fixed":["2.5.0"],"advisory":"GHSA-7xvc-v44j-46fh"}],"cwes":["CWE-78","CWE-502","CWE-77"],"aliases":["GHSA-7xvc-v44j-46fh"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26153.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26153","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7xvc-v44j-46fh","tags":["advisory"]},{"url":"https://github.com/geokit/geokit-rails","tags":["package"]},{"url":"https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb#L37","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geokit-rails/CVE-2023-26153.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.03847,"epssPercentile":0.90359,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-26153","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26153","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-26153","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7xvc-v44j-46fh","ok":true,"note":"GHSA-7xvc-v44j-46fh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-26153","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}