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

rails-6.1.1.gem: 52 vulnerabilities (highest severity is: 10.0) #28

Open
mend-for-github-com bot opened this issue Aug 10, 2022 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Aug 10, 2022

Vulnerable Library - rails-6.1.1.gem

Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.

Library home page: https://rubygems.org/gems/rails-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /2.7.0/cache/rails-6.1.1.gem

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (rails version) Remediation Possible** Reachability
CVE-2022-30123 Critical 10.0 Not Defined 0.6% rack-2.2.3.gem Transitive N/A*
CVE-2022-32224 Critical 9.8 Not Defined 0.1% activerecord-6.1.1.gem Transitive N/A*
CVE-2022-21831 Critical 9.8 Not Defined 4.8% activestorage-6.1.1.gem Transitive N/A*
WS-2022-0089 High 8.8 Not Defined nokogiri-1.11.1-x86_64-linux.gem Transitive N/A*
CVE-2023-22794 High 8.8 Not Defined 0.2% activerecord-6.1.1.gem Transitive N/A*
CVE-2022-29181 High 8.2 Not Defined 0.4% nokogiri-1.11.1-x86_64-linux.gem Transitive N/A*
CVE-2022-23634 High 8.0 Not Defined 0.2% actionpack-6.1.1.gem Transitive N/A*
WS-2023-0224 High 7.5 Not Defined actionpack-6.1.1.gem Transitive N/A*
CVE-2024-41128 High 7.5 Not Defined 0.0% actionpack-6.1.1.gem Transitive N/A*
CVE-2023-27539 High 7.5 Not Defined rack-2.2.3.gem Transitive N/A*
CVE-2023-27530 High 7.5 Not Defined 0.2% rack-2.2.3.gem Transitive N/A*
CVE-2023-22799 High 7.5 Not Defined 0.1% globalid-0.4.2.gem Transitive N/A*
CVE-2023-22796 High 7.5 Not Defined 0.2% activesupport-6.1.1.gem Transitive N/A*
CVE-2023-22795 High 7.5 Not Defined 3.7% actionpack-6.1.1.gem Transitive N/A*
CVE-2023-22792 High 7.5 Not Defined 0.2% actionpack-6.1.1.gem Transitive N/A*
CVE-2022-44572 High 7.5 Not Defined 0.1% rack-2.2.3.gem Transitive N/A*
CVE-2022-44571 High 7.5 Not Defined 0.2% rack-2.2.3.gem Transitive N/A*
CVE-2022-44570 High 7.5 Not Defined 0.2% rack-2.2.3.gem Transitive N/A*
CVE-2022-44566 High 7.5 Not Defined 0.1% activerecord-6.1.1.gem Transitive N/A*
CVE-2022-30122 High 7.5 Not Defined 0.1% rack-2.2.3.gem Transitive N/A*
CVE-2022-24836 High 7.5 Not Defined 0.9% nokogiri-1.11.1-x86_64-linux.gem Transitive N/A*
CVE-2022-23517 High 7.5 Not Defined 0.1% rails-html-sanitizer-1.3.0.gem Transitive N/A*
CVE-2022-23516 High 7.5 Not Defined 0.1% loofah-2.9.0.gem Transitive N/A*
CVE-2022-23514 High 7.5 Not Defined 0.1% loofah-2.9.0.gem Transitive N/A*
CVE-2021-41098 High 7.5 Not Defined 0.1% nokogiri-1.11.1-x86_64-linux.gem Transitive N/A*
CVE-2021-22904 High 7.5 Not Defined 0.2% actionpack-6.1.1.gem Transitive N/A*
CVE-2021-22902 High 7.5 Not Defined 0.1% actionpack-6.1.1.gem Transitive N/A*
CVE-2021-22885 High 7.5 Not Defined 1.4000001% actionpack-6.1.1.gem Transitive N/A*
CVE-2021-22880 High 7.5 Not Defined 0.6% detected in multiple dependencies Transitive N/A*
CVE-2022-23633 High 7.4 Not Defined 0.3% actionpack-6.1.1.gem Transitive N/A*
CVE-2022-23519 High 7.2 Not Defined 0.1% rails-html-sanitizer-1.3.0.gem Transitive N/A*
CVE-2023-28362 Medium 6.1 Not Defined actionpack-6.1.1.gem Transitive N/A*
CVE-2023-28120 Medium 6.1 Not Defined rails-6.1.1.gem Direct rails - 6.1.7.3,7.0.4.3
CVE-2023-23913 Medium 6.1 Not Defined rails-6.1.1.gem Direct rails - 6.1.7.3,7.0.4.3
CVE-2022-32209 Medium 6.1 Not Defined 0.1% rails-html-sanitizer-1.3.0.gem Transitive N/A*
CVE-2022-27777 Medium 6.1 Not Defined 0.1% actionview-6.1.1.gem Transitive N/A*
CVE-2022-23520 Medium 6.1 Not Defined 0.1% rails-html-sanitizer-1.3.0.gem Transitive N/A*
CVE-2022-23518 Medium 6.1 Not Defined 0.1% rails-html-sanitizer-1.3.0.gem Transitive N/A*
CVE-2022-23515 Medium 6.1 Not Defined 0.1% loofah-2.9.0.gem Transitive N/A*
CVE-2022-22577 Medium 6.1 Not Defined 0.70000005% actionpack-6.1.1.gem Transitive N/A*
CVE-2021-44528 Medium 6.1 Not Defined 0.2% actionpack-6.1.1.gem Transitive N/A*
CVE-2021-22942 Medium 6.1 Not Defined 0.1% actionpack-6.1.1.gem Transitive N/A*
CVE-2021-22903 Medium 6.1 Not Defined 0.1% actionpack-6.1.1.gem Transitive N/A*
CVE-2021-22881 Medium 6.1 Not Defined 0.3% detected in multiple dependencies Direct 6.0.3.5,6.1.2.1
CVE-2024-26141 Medium 5.8 Not Defined 0.0% rack-2.2.3.gem Transitive N/A*
CVE-2024-47889 Medium 5.3 Not Defined 0.0% actionmailer-6.1.1.gem Transitive N/A*
CVE-2024-47888 Medium 5.3 Not Defined 0.0% actiontext-6.1.1.gem Transitive N/A*
CVE-2024-47887 Medium 5.3 Not Defined 0.0% actionpack-6.1.1.gem Transitive N/A*
CVE-2024-26146 Medium 5.3 Not Defined 0.0% rack-2.2.3.gem Transitive N/A*
CVE-2024-26144 Medium 5.3 Not Defined 0.0% rails-6.1.1.gem Direct rails - 6.1.7.7,7.0.8.1
CVE-2024-25126 Medium 5.3 Not Defined 0.0% rack-2.2.3.gem Transitive N/A*
CVE-2023-38037 Medium 4.3 Not Defined activesupport-6.1.1.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

Partial details (19 vulnerabilities) are displayed below due to a content size limitation in GitHub. To view information on the remaining vulnerabilities, navigate to the Mend Application.

CVE-2022-30123

Vulnerable Library - rack-2.2.3.gem

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.

Library home page: https://rubygems.org/gems/rack-2.2.3.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/rack-2.2.3.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • rack-2.2.3.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which could allow is a possible shell escape in the Lint and CommonLogger components of Rack.

Publish Date: 2022-12-05

URL: CVE-2022-30123

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.6%

CVSS 3 Score Details (10.0)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-wq4h-7r42-5hrr

Release Date: 2022-12-05

Fix Resolution: rack - 2.0.9.1,2.1.4.1,2.2.3.1

CVE-2022-32224

Vulnerable Library - activerecord-6.1.1.gem

Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.

Library home page: https://rubygems.org/gems/activerecord-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/activerecord-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activerecord-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1, <6.1.6.1, <6.0.5.1 and <5.2.8.1 which could allow an attacker, that can manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.

Publish Date: 2022-12-05

URL: CVE-2022-32224

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-3hhc-qp5v-9p2j

Release Date: 2022-12-05

Fix Resolution: activerecord - 5.2.8.1,6.0.5.1,6.1.6.1,7.0.3.1

CVE-2022-21831

Vulnerable Library - activestorage-6.1.1.gem

Attach cloud and local files in Rails applications.

Library home page: https://rubygems.org/gems/activestorage-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/activestorage-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.

Publish Date: 2022-05-26

URL: CVE-2022-21831

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 4.8%

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-w749-p3v6-hccq

Release Date: 2022-05-26

Fix Resolution: activestorage - 5.2.6.3,6.0.4.7,6.1.4.7,7.0.2.3

WS-2022-0089

Vulnerable Library - nokogiri-1.11.1-x86_64-linux.gem

Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is fast and standards-compliant by relying on native parsers like libxml2 (C) and xerces (Java).

Library home page: https://rubygems.org/gems/nokogiri-1.11.1-x86_64-linux.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/nokogiri-1.11.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • actionview-6.1.1.gem
          • rails-dom-testing-2.0.3.gem
            • nokogiri-1.11.1-x86_64-linux.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

Nokogiri before version 1.13.2 is vulnerable.

Publish Date: 2024-11-03

URL: WS-2022-0089

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

CVSS 3 Score Details (8.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-fq42-c5rg-92c2

Release Date: 2024-11-03

Fix Resolution: nokogiri - v1.13.2

CVE-2023-22794

Vulnerable Library - activerecord-6.1.1.gem

Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.

Library home page: https://rubygems.org/gems/activerecord-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/activerecord-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activerecord-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A vulnerability in ActiveRecord <6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the annotate query method, the optimizer_hints query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.

Publish Date: 2023-02-09

URL: CVE-2023-22794

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

CVSS 3 Score Details (8.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-hq7p-j377-6v63

Release Date: 2023-02-09

Fix Resolution: activerecord - 6.0.6.1,6.1.7.1,7.0.4.1

CVE-2022-29181

Vulnerable Library - nokogiri-1.11.1-x86_64-linux.gem

Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is fast and standards-compliant by relying on native parsers like libxml2 (C) and xerces (Java).

Library home page: https://rubygems.org/gems/nokogiri-1.11.1-x86_64-linux.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/nokogiri-1.11.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • actionview-6.1.1.gem
          • rails-dom-testing-2.0.3.gem
            • nokogiri-1.11.1-x86_64-linux.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure the untrusted input is a String by calling #to_s or equivalent.

Publish Date: 2022-05-20

URL: CVE-2022-29181

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.4%

CVSS 3 Score Details (8.2)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29181

Release Date: 2022-05-20

Fix Resolution: nokogiri - 1.13.6

CVE-2022-23634

Vulnerable Library - actionpack-6.1.1.gem

Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.

Library home page: https://rubygems.org/gems/actionpack-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/actionpack-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • actionpack-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

Puma is a Ruby/Rack web server built for parallelism. Prior to puma version 5.6.2, puma may not always call close on the response body. Rails, prior to version 7.0.2.2, depended on the response body being closed in order for its CurrentAttributes implementation to work correctly. The combination of these two behaviors (Puma not closing the body + Rails' Executor implementation) causes information leakage. This problem is fixed in Puma versions 5.6.2 and 4.3.11. This problem is fixed in Rails versions 7.02.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2. Upgrading to a patched Rails or Puma version fixes the vulnerability.

Publish Date: 2022-02-11

URL: CVE-2022-23634

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

CVSS 3 Score Details (8.0)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-wh98-p28r-vrc9

Release Date: 2022-02-11

Fix Resolution: puma - 4.3.11, 5.6.2; actionpack - 5.2.6.2, 6.0.4.6, 6.1.4.6, 7.0.2.2

WS-2023-0224

Vulnerable Library - actionpack-6.1.1.gem

Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.

Library home page: https://rubygems.org/gems/actionpack-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/actionpack-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • actionpack-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

In actionpack prior to 6.1.5 there is a Possible DOS in app with crashing exceptions_app.

Publish Date: 2023-06-28

URL: WS-2023-0224

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

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

Release Date: 2023-06-28

Fix Resolution: actionpack - 6.1.5

CVE-2024-41128

Vulnerable Library - actionpack-6.1.1.gem

Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.

Library home page: https://rubygems.org/gems/actionpack-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/actionpack-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • actionpack-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

Action Pack is a framework for handling and responding to web requests. Starting in version 3.1.0 and prior to versions 6.1.7.9, 7.0.8.5, 7.1.4.1, and 7.2.1.1, there is a possible ReDoS vulnerability in the query parameter filtering routines of Action Dispatch. Carefully crafted query parameters can cause query parameter filtering to take an unexpected amount of time, possibly resulting in a DoS vulnerability. All users running an affected release should either upgrade to version 6.1.7.9, 7.0.8.5, 7.1.4.1, or 7.2.1.1 or apply the relevant patch immediately. One may use Ruby 3.2 as a workaround. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected. Rails 8.0.0.beta1 depends on Ruby 3.2 or greater so is unaffected.

Publish Date: 2024-10-16

URL: CVE-2024-41128

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

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: GHSA-x76w-6vjr-8xgj

Release Date: 2024-10-16

Fix Resolution: actionpack - 6.1.7.9,7.0.8.5,7.1.4.1,7.2.1.1

CVE-2023-27539

Vulnerable Library - rack-2.2.3.gem

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.

Library home page: https://rubygems.org/gems/rack-2.2.3.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/rack-2.2.3.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • rack-2.2.3.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

There is a denial of service vulnerability in the header parsing component of Rack. Carefully crafted input can cause header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse headers using Rack (virtually all Rails applications) are impacted. The issue is fixed versions 2.2.6.4 and 3.0.6.1

Publish Date: 2024-11-03

URL: CVE-2023-27539

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

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://discuss.rubyonrails.org/t/cve-2023-27539-possible-denial-of-service-vulnerability-in-racks-header-parsing/82466

Release Date: 2024-11-03

Fix Resolution: rack - 2.2.6.4,3.0.6.1

CVE-2023-27530

Vulnerable Library - rack-2.2.3.gem

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.

Library home page: https://rubygems.org/gems/rack-2.2.3.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/rack-2.2.3.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • rack-2.2.3.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A DoS vulnerability exists in Rack <v3.0.4.2, <v2.2.6.3, <v2.1.4.3 and <v2.0.9.3 within in the Multipart MIME parsing code in which could allow an attacker to craft requests that can be abuse to cause multipart parsing to take longer than expected.

Publish Date: 2023-03-10

URL: CVE-2023-27530

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

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

Release Date: 2023-03-10

Fix Resolution: rack - 2.0.9.3,2.1.4.3,2.2.6.3,3.0.4.2

CVE-2023-22799

Vulnerable Library - globalid-0.4.2.gem

URIs for your models makes it easy to pass references around.

Library home page: https://rubygems.org/gems/globalid-0.4.2.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/globalid-0.4.2.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • activejob-6.1.1.gem
        • globalid-0.4.2.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A ReDoS based DoS vulnerability in the GlobalID <1.0.1 which could allow an attacker supplying a carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately.

Publish Date: 2023-02-09

URL: CVE-2023-22799

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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: GHSA-23c2-gwp5-pxw9

Release Date: 2023-02-09

Fix Resolution: globalid - 1.0.1

CVE-2023-22796

Vulnerable Library - activesupport-6.1.1.gem

A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.

Library home page: https://rubygems.org/gems/activesupport-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/activesupport-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activesupport-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A regular expression based DoS vulnerability in Active Support <6.1.7.1 and <7.0.4.1. A specially crafted string passed to the underscore method can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability.

Publish Date: 2023-02-09

URL: CVE-2023-22796

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

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: GHSA-j6gc-792m-qgm2

Release Date: 2023-02-09

Fix Resolution: activesupport - 6.1.7.1,7.0.4.1

CVE-2023-22795

Vulnerable Library - actionpack-6.1.1.gem

Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.

Library home page: https://rubygems.org/gems/actionpack-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/actionpack-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • actionpack-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A regular expression based DoS vulnerability in Action Dispatch <6.1.7.1 and <7.0.4.1 related to the If-None-Match header. A specially crafted HTTP If-None-Match header can cause the regular expression engine to enter a state of catastrophic backtracking, when on a version of Ruby below 3.2.0. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.

Publish Date: 2023-02-09

URL: CVE-2023-22795

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 3.7%

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

Release Date: 2023-02-09

Fix Resolution: actionpack - 6.1.7.1, 7.0.4.1

CVE-2023-22792

Vulnerable Library - actionpack-6.1.1.gem

Web apps on Rails. Simple, battle-tested conventions for building and testing MVC web applications. Works with any Rack-compatible server.

Library home page: https://rubygems.org/gems/actionpack-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/actionpack-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • actionpack-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A regular expression based DoS vulnerability in Action Dispatch <6.0.6.1,< 6.1.7.1, and <7.0.4.1. Specially crafted cookies, in combination with a specially crafted X_FORWARDED_HOST header can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability All users running an affected release should either upgrade or use one of the workarounds immediately.

Publish Date: 2023-02-09

URL: CVE-2023-22792

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

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

Release Date: 2023-02-09

Fix Resolution: actionpack - 6.1.7.1,7.0.4.1

CVE-2022-44572

Vulnerable Library - rack-2.2.3.gem

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.

Library home page: https://rubygems.org/gems/rack-2.2.3.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/rack-2.2.3.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • rack-2.2.3.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A denial of service vulnerability in the multipart parsing component of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1 and 3.0.0.1 could allow an attacker tocraft input that can cause RFC2183 multipart boundary parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.

Publish Date: 2023-02-09

URL: CVE-2022-44572

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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: GHSA-rqv2-275x-2jq5

Release Date: 2023-02-09

Fix Resolution: rack - 2.0.9.2,2.1.4.2,2.2.6.2,3.0.4.1

CVE-2022-44571

Vulnerable Library - rack-2.2.3.gem

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.

Library home page: https://rubygems.org/gems/rack-2.2.3.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/rack-2.2.3.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • rack-2.2.3.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

There is a denial of service vulnerability in the Content-Disposition parsingcomponent of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1, 3.0.0.1. This could allow an attacker to craft an input that can cause Content-Disposition header parsing in Rackto take an unexpected amount of time, possibly resulting in a denial ofservice attack vector. This header is used typically used in multipartparsing. Any applications that parse multipart posts using Rack (virtuallyall Rails applications) are impacted.

Publish Date: 2023-02-09

URL: CVE-2022-44571

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

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: GHSA-93pm-5p5f-3ghx

Release Date: 2023-02-09

Fix Resolution: rack - 2.0.9.2,2.1.4.2,2.2.6.2,3.0.4.1

CVE-2022-44570

Vulnerable Library - rack-2.2.3.gem

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.

Library home page: https://rubygems.org/gems/rack-2.2.3.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/rack-2.2.3.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activestorage-6.1.1.gem
      • actionpack-6.1.1.gem
        • rack-2.2.3.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A denial of service vulnerability in the Range header parsing component of Rack >= 1.5.0. A Carefully crafted input can cause the Range header parsing component in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that deal with Range requests (such as streaming applications, or applications that serve files) may be impacted.

Publish Date: 2023-02-09

URL: CVE-2022-44570

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

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: GHSA-65f5-mfpf-vfhj

Release Date: 2023-02-09

Fix Resolution: rack - 2.0.9.2,2.1.4.2,2.2.6.2,3.0.4.1

CVE-2022-44566

Vulnerable Library - activerecord-6.1.1.gem

Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.

Library home page: https://rubygems.org/gems/activerecord-6.1.1.gem

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /home/wss-scanner/.gem/ruby/2.7.0/cache/activerecord-6.1.1.gem

Dependency Hierarchy:

  • rails-6.1.1.gem (Root Library)
    • activerecord-6.1.1.gem (Vulnerable Library)

Found in HEAD commit: 644285bf7e5ca3c9e83f21c41a726de43a03f563

Found in base branch: main

Vulnerability Details

A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Service.

Publish Date: 2023-02-09

URL: CVE-2022-44566

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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: GHSA-579w-22j4-4749

Release Date: 2023-02-09

Fix Resolution: activerecord - 6.1.7.1,7.0.4.1


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Aug 10, 2022
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 4 vulnerabilities (highest severity is: 9.8) rails-6.1.1.gem: 22 vulnerabilities (highest severity is: 10.0) Dec 14, 2022
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 22 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 25 vulnerabilities (highest severity is: 10.0) Dec 18, 2022
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 25 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 28 vulnerabilities (highest severity is: 10.0) Dec 18, 2022
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 28 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 29 vulnerabilities (highest severity is: 10.0) Dec 19, 2022
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 29 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 33 vulnerabilities (highest severity is: 10.0) Jan 23, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 33 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 36 vulnerabilities (highest severity is: 10.0) Jan 23, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 36 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 37 vulnerabilities (highest severity is: 10.0) Mar 8, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 37 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 39 vulnerabilities (highest severity is: 10.0) Mar 16, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 39 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 40 vulnerabilities (highest severity is: 10.0) Mar 22, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 40 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 43 vulnerabilities (highest severity is: 10.0) Aug 20, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 43 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 44 vulnerabilities (highest severity is: 10.0) Dec 5, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 44 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 45 vulnerabilities (highest severity is: 10.0) Dec 10, 2023
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 45 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 46 vulnerabilities (highest severity is: 10.0) Mar 3, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 46 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 49 vulnerabilities (highest severity is: 10.0) Mar 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 49 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 45 vulnerabilities (highest severity is: 10.0) Mar 22, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 45 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 46 vulnerabilities (highest severity is: 10.0) Apr 8, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 46 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 49 vulnerabilities (highest severity is: 10.0) Apr 8, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 49 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 48 vulnerabilities (highest severity is: 10.0) Sep 17, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 48 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 49 vulnerabilities (highest severity is: 10.0) Oct 19, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 49 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 50 vulnerabilities (highest severity is: 10.0) Oct 20, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 50 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 51 vulnerabilities (highest severity is: 10.0) Oct 20, 2024
@mend-for-github-com mend-for-github-com bot changed the title rails-6.1.1.gem: 51 vulnerabilities (highest severity is: 10.0) rails-6.1.1.gem: 52 vulnerabilities (highest severity is: 10.0) Oct 20, 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