loopbackio / loopbackio/security

Update NIST CPE Dictionary

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

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

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

説明

CPE (Common Platform Enumeration) is a standard syntax for describing software (e.g. vendor, software type, software name, version).

The [NIST CPE Dictionary](https://nvd.nist.gov/products/cpe) is a central database of registered CPEs. Vendors can register their CPEs with NIST to be added to the database.

Currently, LoopBack only has 1 CPE entry, [`cpe:2.3:a:ibm:loopback:8.0.0:*:*:*:*:*:*:*`](https://nvd.nist.gov/products/cpe/detail/849715?namingFormat=2.3&orderBy=CPEURI&keyword=loopback&status=FINAL).

Here is a 3-part proposal:

1. IBM is no longer the vendor for LoopBack
To solve this, we can revoke the current CPE and replace it with the following:
`cpe:2.3:a:loopback:\@loopback\/rest:8.0.0:*:*:*:*:*:*:*`
Note that the CPE above is not registered and may change once we contact NIST. The backslash is used to "quote" printable, non-alphanmuric characters in accordance with the CPE 2.3 specification.
2. Other vulnerable LoopBack packages with a published CVE do not have an associated CPE.
~~LB2/3 is quite different from LB4. Hence one proposal is to utilise the DefinitelyTyped syntax by:
a. Replacing the above CPE with double underscore
b. Use hyphen as per-normal for LB2/3 packages (e.g. `loopback-boot`)
This allows us to exploit the existing distinctive property separating LB2/3 and LB4, that LB2/3 packages are unscoped while LB4 packages are scoped.~~
3. For "non-LoopBack" packages such as `strong-soap`, keep the `loopback` vendor and use the package name as per-normal, similar to 2.a.

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

issue にある NIST CPE Dictionary のリンクと、LoopBack および関連パッケージについて提案されている CPE 識別子から始めます。どのエントリを失効、置換、追加すべきかを判断し、その後、最終的な命名を NIST と確認します。合意した CPE レコードが登録され、repository のセキュリティガイダンスにそれらが反映されれば完了です。

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

評価

領域
security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

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

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