GitHub Advisoryadvisory · RubyGems
GHSA-7xvc-v44j-46fh geokit-rails Command Injection vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2023-26153
- Ecosystem
- RubyGems
- Packages
- geokit-rails
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502, CWE-77
- Reviewed
- 2023-10-06
Affected packages
• RubyGems geokit-rails: < 2.5.0 → fixed in 2.5.0
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.
Note:
An attacker can use this vulnerability to execute commands on the host system.
Related
Alias · CVE (1)
- CVE-2023-26153 Versions of the package geokit-rails before 2.5.0 are vulnerable to Command Injection due to unsafe deserialisation of YAML within the… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26153 advisory
- https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43 web
- https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f web
- https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d web
- https://github.com/advisories/GHSA-7xvc-v44j-46fh advisory
- https://github.com/geokit/geokit-rails package
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb#L37 web
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geokit-rails/CVE-2023-26153.yml web
- https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323 web