CVE-2022-30123 (High) detected in rack-2.2.3.gem - autoclosed
mend-bolt-for-github opened this issue · 2 comments
CVE-2022-30123 - High Severity Vulnerability
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:
- openid_connect-1.3.0.gem (Root Library)
- rack-oauth2-1.19.0.gem
- ❌ rack-2.2.3.gem (Vulnerable Library)
- rack-oauth2-1.19.0.gem
Found in base branch: master
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
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
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
Step up your Open Source Security Game with Mend here
A fresh bundle install / update gets rack 2.2.3.1
which has the fix.
This is an indirect dependency, neither openid_connect
nor rack-oauth2
released any recent version requiring >= 2.2.3.1, so not sure there is anything kubeclient should do at this point.
Also, it seems neither openid_connect nor rack-oauth2 use Rack::Lint
or Rack::CommonLogger
so may be irrelevant.
✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.