{"id":"CVE-2023-26153","details":"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.","aliases":["GHSA-7xvc-v44j-46fh"],"modified":"2026-08-12T03:51:20.665832615Z","published":"2023-10-06T05:00:01.453Z","database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26153.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"2.5.0"}]},{"extracted_events":[{"fixed":"2.5.0"}],"source":"DESCRIPTION"}],"cna_assigner":"snyk"},"references":[{"type":"WEB","url":"https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d"},{"type":"WEB","url":"https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26153.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26153"},{"type":"FIX","url":"https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43"},{"type":"FIX","url":"https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/geokit/geokit-rails","events":[{"introduced":"0"},{"fixed":"7ffc5813e57f6f417987043e1039925fd0865c43"},{"fixed":"a93dfe49fb9aeae7164e2f8c4041450a04b5482f"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26153.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P"}]}