CVE-2021-33575: Ruby jss Remote Code Execution Vulnerability
CRITICALCVE-2021-33575 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (General Security Weakness) affecting Ruby jss libraries in the RubyGems ecosystem. The issue involves remote code execution in ruby-jss. Remediation is available by upgrading affected packages to version 1.6.0.
CVE-2021-33575 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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2021-33575
To remediate this vulnerability, upgrade all affected Ruby jss 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 ruby-jss to 1.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ruby-jss
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-33575, inspect your project dependencies for Ruby jss:
inspect dependencies for ruby-jss
Analyze the terminal output to locate any version of Ruby jss in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.0), 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 General Security Weakness. In Ruby jss, 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-2021-33575 Affected Ruby jss Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ruby-jss
|
RubyGems |
< 1.6.0
|
1.6.0
|
References
Frequently Asked Questions
What is CVE-2021-33575?
Which Ruby jss versions are affected?
What version fixes CVE-2021-33575?
Is ruby-jss affected?
What is the CVSS score of CVE-2021-33575?
What CWE is associated with CVE-2021-33575?
How can I check RubyGems dependencies for CVE-2021-33575?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vmfh-c547-v45h",
"modified" : "2021-10-06T13:46:32Z",
"published" : "2021-10-06T17:48:27Z",
"aliases" : [ "CVE-2021-33575" ],
"summary" : "Remote code execution in ruby-jss",
"details" : "The Pixar ruby-jss gem before 1.6.0 allows remote attackers to execute arbitrary code because of the Plist gem's documented behavior of using Marshal.load during XML document processing.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "ruby-jss"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-33575"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/PixarAnimationStudios/ruby-jss"
}, {
"type" : "WEB",
"url" : "https://github.com/PixarAnimationStudios/ruby-jss/blob/e6d48dd8c77f9275c76787d60d3472615fcd9b77/CHANGES.md#160---2021-05-24"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-vmfh-c547-v45h"
}, {
"type" : "WEB",
"url" : "https://github.com/patsplat/plist/tree/ce8f9ae42a114f603ea200c955e420782bffc4ad#label-Security+considerations"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-jss/CVE-2021-33575.yml"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-10-06T13:46:32Z",
"nvd_published_at" : "2021-05-25T23:15:00Z"
}
}