Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Security advisory (GHSA-8cf7-32gw-wr33) clarification for symmetric algorithm types

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
30/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, node.js

調査の方向性

まず advisory GHSA-8cf7-32gw-wr33 と、issue に記載されている CVE-2022-23539 の条件を読みます。HS256 などの対称アルゴリズムが影響を受けるかを確認し、その後 advisory を明確化して、影響を受ける組み合わせとアルゴリズム要件に曖昧さがないようにします。

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

説明

The recent advisory https://github.com/auth0/node-jsonwebtoken/security/advisories/GHSA-8cf7-32gw-wr33 makes it appear that only asymmetric algorithms are secure in v.8.5.1 in the sense that if one's using symmetric algorithms like HS256 you are "affected" by the vulnerability since HS256 is not listed in the tables.

Key type algorithm
ec ES256, ES384, ES512
rsa RS256, RS384, RS512, PS256, PS384, PS512
rsa-pss PS256, PS384, PS512
alg Curve
ES256 prime256v1
ES384 secp384r1
ES512 secp521r1

But for CVE-2022-23539, isn't it true that you are affected only if BOTH of these conditions are true?

  1. Using asymmetric algorithm <--- missing?
  2. Using combinations other than what's listed...
主要言語
JavaScript
スター
18.2k
フォーク
1.3k
PR マージ指標
30日以内にマージされた PR はありません

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

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

はじめの一歩

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

auth0/node-jsonwebtoken のほかの issue

auth0/node-jsonwebtoken の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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