Vulnerabilities in pkg:gem/slanger
PACKAGECVE-2019-1010306 is a CRITICAL (CVSS 9.8) slanger arbitrary command execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Slanger libraries in the RubyGems ecosystem. The issue involves slanger arbitrary command execution. Remediation is available by upgrading affected packages to version 0.6.1.
pkg:gem/slanger
Vulnerability advisories affecting package pkg:gem/slanger. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rg32-m3hf-772v | CVE-2019-1010306 | CRITICAL | Slanger Arbitrary command execution |
CVE-2019-1010306 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-1010306
To remediate this vulnerability, upgrade all affected Slanger dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade slanger to 0.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for slanger
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-1010306, inspect your project dependencies for Slanger:
inspect dependencies for slanger
Analyze the terminal output to locate any version of Slanger in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Slanger, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-1010306 Affected Slanger Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
slanger
|
RubyGems |
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is CVE-2019-1010306?
Which Slanger versions are affected?
What version fixes CVE-2019-1010306?
Is slanger affected?
What is the CVSS score of CVE-2019-1010306?
What CWE is associated with CVE-2019-1010306?
How can I check RubyGems dependencies for CVE-2019-1010306?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rg32-m3hf-772v",
"modified" : "2023-08-29T15:29:43Z",
"published" : "2019-07-16T00:41:40Z",
"aliases" : [ "CVE-2019-1010306" ],
"summary" : "Slanger Arbitrary command execution",
"details" : "Slanger 0.6.0 is affected by Remote Code Execution (RCE). The impact is A remote attacker can execute arbitrary commands by sending a crafted request to the server. The component is Message handler & request validator. The attack vector is Remote unauthenticated. The fixed version is after commit 5267b455caeb2e055cccf0d2b6a22727c111f5c3.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "slanger"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1010306"
}, {
"type" : "WEB",
"url" : "https://github.com/stevegraham/slanger/pull/238"
}, {
"type" : "WEB",
"url" : "https://github.com/stevegraham/slanger/pull/238/commits/5267b455caeb2e055cccf0d2b6a22727c111f5c3"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/slanger/CVE-2019-1010306.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/stevegraham/slanger"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2019-07-15T21:51:37Z",
"nvd_published_at" : "2019-07-15T15:15:00Z"
}
}