Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#869 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
30/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞

调研方向

首先阅读 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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

auth0/node-jsonwebtoken 的其他 Issue

查看 auth0/node-jsonwebtoken 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。