Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Update dependency git to v1.13.0 [SECURITY] #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 16, 2022

Mend Renovate

This PR contains the following updates:

Package Update Change
git minor 1.3.0 -> 1.13.0

GitHub Vulnerability Alerts

CVE-2022-25648

The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

CVE-2022-46648

The git gem, between versions 1.2.0 and 1.12.0, incorrectly parsed the output of the git ls-files command using eval() to unescape quoted file names. If a file name was added to the git repository contained special characters, such as \n, then the git ls-files command would print the file name in quotes and escape any special characters. If the Git#ls_files method encountered a quoted file name it would use eval() to unquote and unescape any special characters, leading to potential remote code execution. Version 1.13.0 of the git gem was released which correctly parses any quoted file names.

CVE-2022-47318

ruby-git versions prior to v1.13.0 allows a remote authenticated attacker to execute an arbitrary ruby code by having a user to load a repository containing a specially crafted filename to the product. This vulnerability is different from CVE-2022-46648.


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency git to v1.11.0 [SECURITY] Update dependency git to v1.13.0 [SECURITY] Mar 18, 2023
@renovate
Copy link
Author

renovate bot commented Mar 18, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Gemfile.lock
installing v2 tool ruby v3.2.1
linking tool ruby v3.2.1
ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-linux]
gem 3.4.6
RubyGems Environment:
  - RUBYGEMS VERSION: 3.4.6
  - RUBY VERSION: 3.2.1 (2023-02-08 patchlevel 31) [x86_64-linux]
  - INSTALLATION DIRECTORY: /tmp/renovate-cache/others/bundler
  - USER INSTALLATION DIRECTORY: /home/ubuntu/.local/share/gem/ruby/3.2.0
  - RUBY EXECUTABLE: /opt/buildpack/tools/ruby/3.2.1/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /tmp/renovate-cache/others/bundler/bin
  - SPEC CACHE DIRECTORY: /home/ubuntu/.local/share/gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /usr/local/ruby/3.2.1/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-linux
  - GEM PATHS:
     - /tmp/renovate-cache/others/bundler
     - /home/ubuntu/.local/share/gem/ruby/3.2.0
     - /opt/buildpack/tools/ruby/3.2.1/lib/ruby/gems/3.2.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--bindir /home/ubuntu/bin --no-document"
     - :benchmark => false
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/bin
     - /home/ubuntu/.cargo/bin
     - /home/ubuntu/.local/bin
     - /go/bin
     - /home/ubuntu/bin
     - /home/ubuntu/bin
     - /usr/local/sbin
     - /usr/local/bin
     - /usr/sbin
     - /usr/bin
     - /sbin
     - /bin
Installed v2 /usr/local/buildpack/tools/v2/ruby.sh in 2 seconds
installing v2 tool bundler v1.16.0
linking tool bundler v1.16.0

/opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:266:in `search_up': undefined method `untaint' for "/mnt/renovate/gh/Odania-IT/kubernetes-haproxy-watcher":String (NoMethodError)

      current  = File.expand_path(SharedHelpers.pwd).untaint
                                                    ^^^^^^^^
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:253:in `find_file'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:245:in `find_gemfile'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:27:in `root'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler.rb:218:in `root'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler.rb:230:in `app_config_path'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler.rb:257:in `settings'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/env.rb:20:in `report'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:96:in `request_issue_report_for'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:46:in `log_error'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:126:in `rescue in with_friendly_errors'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/exe/bundle:22:in `<top (required)>'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/exe/bundler:4:in `load'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/exe/bundler:4:in `<top (required)>'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/bin/bundler:25:in `load'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/bin/bundler:25:in `<main>'
/opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:266:in `search_up': undefined method `untaint' for "/mnt/renovate/gh/Odania-IT/kubernetes-haproxy-watcher":String (NoMethodError)

      current  = File.expand_path(SharedHelpers.pwd).untaint
                                                    ^^^^^^^^
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:253:in `find_file'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:245:in `find_gemfile'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/shared_helpers.rb:27:in `root'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler.rb:218:in `root'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler.rb:230:in `app_config_path'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler.rb:257:in `settings'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/feature_flag.rb:21:in `block in settings_method'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/cli.rb:97:in `<class:CLI>'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/cli.rb:7:in `<module:Bundler>'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/cli.rb:6:in `<top (required)>'
	from <internal:/opt/buildpack/tools/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
	from <internal:/opt/buildpack/tools/ruby/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:88:in `require'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/exe/bundle:23:in `block in <top (required)>'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/exe/bundle:22:in `<top (required)>'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/exe/bundler:4:in `load'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/gems/bundler-1.16.0/exe/bundler:4:in `<top (required)>'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/bin/bundler:25:in `load'
	from /opt/buildpack/tools/bundler/1.16.0/3.2/bin/bundler:25:in `<main>'

@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant