Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rubocop-rspec-2.24.0.gem: 1 vulnerabilities (highest severity is: 5.3) #41

Closed
mend-for-github-com bot opened this issue May 17, 2024 · 0 comments · Fixed by #42
Closed

rubocop-rspec-2.24.0.gem: 1 vulnerabilities (highest severity is: 5.3) #41

mend-for-github-com bot opened this issue May 17, 2024 · 0 comments · Fixed by #42
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link
Contributor

Vulnerable Library - rubocop-rspec-2.24.0.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/rexml-3.2.6.gem

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (rubocop-rspec version) Remediation Possible**
CVE-2024-35176 Medium 5.3 rexml-3.2.6.gem Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-35176

Vulnerable Library - rexml-3.2.6.gem

An XML toolkit for Ruby

Library home page: https://rubygems.org/gems/rexml-3.2.6.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/rexml-3.2.6.gem

Dependency Hierarchy:

  • rubocop-rspec-2.24.0.gem (Root Library)
    • rubocop-1.56.3.gem
      • rexml-3.2.6.gem (Vulnerable Library)

Found in base branch: main

Vulnerability Details

REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many <s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.

Publish Date: 2024-05-16

URL: CVE-2024-35176

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-vg3r-rm7w-2xgh

Release Date: 2024-05-16

Fix Resolution: rexml - 3.2.7

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label May 17, 2024
@dblock dblock closed this as completed in #42 Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant