Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS03eHZjLXY0NGotNDZmaM4AA2RG
geokit-rails Command Injection vulnerability
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.
Permalink: https://github.com/advisories/GHSA-7xvc-v44j-46fhJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03eHZjLXY0NGotNDZmaM4AA2RG
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 1 year ago
Updated: about 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Percentage: 0.00239
EPSS Percentile: 0.62502
Identifiers: GHSA-7xvc-v44j-46fh, CVE-2023-26153
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-26153
- https://github.com/geokit/geokit-rails/commit/7ffc5813e57f6f417987043e1039925fd0865c43
- https://github.com/geokit/geokit-rails/commit/a93dfe49fb9aeae7164e2f8c4041450a04b5482f
- https://gist.github.com/CalumHutton/b7aa1c2e71c8d4386463ac14f686901d
- https://security.snyk.io/vuln/SNYK-RUBY-GEOKITRAILS-5920323
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb#L37
- https://github.com/advisories/GHSA-7xvc-v44j-46fh
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/geokit-rails/CVE-2023-26153.yml
- https://github.com/geokit/geokit-rails/blob/master/lib/geokit-rails/ip_geocode_lookup.rb%23L37
Blast Radius: 29.8
Affected Packages
rubygems:geokit-rails
Dependent packages: 6Dependent repositories: 1,105
Downloads: 11,520,950 total
Affected Version Ranges: < 2.5.0
Fixed in: 2.5.0
All affected versions: 1.1.4, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2
All unaffected versions: 2.5.0