Security Vulnerabilities

オープン
#1,854 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, node.js
領域
security

調査の方向性

まず nodegit の依存関係マニフェストを見つけ、ini、normalize-url、tar、bl の解決済みバージョンを確認します。依存関係の宣言またはロックファイルを更新して、一覧にある各パッケージが修正版に到達するようにし、その後、リポジトリで利用できるチェックを実行して、脆弱性が報告されなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

説明

System information

  • node version: v14.17.5
  • npm or yarn version: 6.14.14
  • OS/version/architecture: Version 21H1(OS Build 19043.1165)
  • Applicable nodegit version: 0.27.0

Problem description

Hi team,
  I saw some dependencies used on node-git has security vulnerabilities or legal issues.

Package Affected versions Patched versions Overview
ini < 1.3.6 1.3.6 The ini npm package before version 1.3.6 has a Prototype Pollution vulnerability.If an attacker submits a malicious INI file to an application that parses it with ini.parse, they will pollute the prototype on the application. This can be exploited further depending on the context.
normalize-url >= 4.3.0, < 4.5.1 4.5.1 The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.
tar >= 4.0.0, < 4.4.15 4.4.15 Arbitrary File Creation, Arbitrary File Overwrite, Arbitrary Code Execution
tar >= 6.0.0, < 6.1.2 6.1.2
bl < 1.2.3 1.2.3 A buffer over-read vulnerability exists in bl <4.0.3, <3.0.1, <2.2.1, and <1.2.3 which could allow an attacker to supply user input (even typed) that if it ends up in consume() argument and can become negative, the BufferList state can be corrupted, tricking it into exposing uninitialized memory via regular .slice() calls.

Can you update these dependencies?

References

https://github.com/advisories/GHSA-pp7h-53gx-mx7r
https://github.com/advisories/GHSA-r628-mhmh-qjhw
https://github.com/advisories/GHSA-qqgx-2p2h-9c37
https://github.com/advisories/GHSA-px4h-xg32-q955

主要言語
JavaScript
スター
5.8k
フォーク
704
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodegit/nodegit のほかの issue

nodegit/nodegit の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。