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

minima-2.5.1.gem: 2 vulnerabilities (highest severity is: 7.5) #41

Open
mend-bolt-for-github bot opened this issue Nov 11, 2024 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

Vulnerable Library - minima-2.5.1.gem

Path to dependency file: /web/Gemfile.lock

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

Found in HEAD commit: ebc900c8807f6dfc3852a1d415f174960923331c

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (minima version) Remediation Possible**
CVE-2024-49761 High 7.5 rexml-3.3.3.gem Transitive N/A*
CVE-2024-43398 Medium 5.9 rexml-3.3.3.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-49761

Vulnerable Library - rexml-3.3.3.gem

An XML toolkit for Ruby

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

Path to dependency file: /web/Gemfile.lock

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

Dependency Hierarchy:

  • minima-2.5.1.gem (Root Library)
    • jekyll-seo-tag-2.8.0.gem
      • jekyll-3.9.5.gem
        • kramdown-2.4.0.gem
          • rexml-3.3.3.gem (Vulnerable Library)

Found in HEAD commit: ebc900c8807f6dfc3852a1d415f174960923331c

Found in base branch: main

Vulnerability Details

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.

Publish Date: 2024-10-28

URL: CVE-2024-49761

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-49761

Release Date: 2024-10-28

Fix Resolution: rexml - 3.3.9

Step up your Open Source Security Game with Mend here

CVE-2024-43398

Vulnerable Library - rexml-3.3.3.gem

An XML toolkit for Ruby

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

Path to dependency file: /web/Gemfile.lock

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

Dependency Hierarchy:

  • minima-2.5.1.gem (Root Library)
    • jekyll-seo-tag-2.8.0.gem
      • jekyll-3.9.5.gem
        • kramdown-2.4.0.gem
          • rexml-3.3.3.gem (Vulnerable Library)

Found in HEAD commit: ebc900c8807f6dfc3852a1d415f174960923331c

Found in base branch: main

Vulnerability Details

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

Publish Date: 2024-08-22

URL: CVE-2024-43398

CVSS 3 Score Details (5.9)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-vmwr-mc7x-5vc3

Release Date: 2024-08-22

Fix Resolution: rexml - 3.3.6

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 11, 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

No branches or pull requests

0 participants