GHSA-7xvc-v44j-46fh

Suggest an improvement
Source
https://github.com/advisories/GHSA-7xvc-v44j-46fh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-7xvc-v44j-46fh/GHSA-7xvc-v44j-46fh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7xvc-v44j-46fh
Aliases
Published
2023-10-06T06:30:16Z
Modified
2024-02-16T08:13:57.347777Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
geokit-rails Command Injection vulnerability
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.

Note:

An attacker can use this vulnerability to execute commands on the host system.

Database specific
{
    "nvd_published_at": "2023-10-06T05:15:52Z",
    "cwe_ids": [
        "CWE-502",
        "CWE-77"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-10-06T18:45:58Z"
}
References

Affected packages

RubyGems / geokit-rails

Package

Name
geokit-rails
Purl
pkg:gem/geokit-rails

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.0

Affected versions

1.*

1.1.4

2.*

2.0.0.rc1
2.0.0
2.0.1
2.1.0
2.2.0
2.3.0
2.3.1
2.3.2