kcve.ai취약점 정보 · 내 자산 확인

CVE-2022-23540 jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify()

설명

In versions `<=8.5.1` of `jsonwebtoken` library, lack of algorithm definition in the `jwt.verify()` function can lead to signature validation bypass due to defaulting to the `none` algorithm for signature verification. Users are affected if you do not specify algorithms in the `jwt.verify()` function. This issue has been fixed, please update to version 9.0.0 which removes the default support for the none algorithm in the `jwt.verify()` method. There will be no impact, if you update to version 9.0.0 and you don’t need to allow for the `none` algorithm. If you need 'none' algorithm, you have to explicitly specify that in `jwt.verify()` options.

영향 받는 제품 제품 1개

  • auth0

    node-jsonwebtoken

    영향 받는 버전

    • 8.5.1 이하

    해결 버전

    해결 버전은 설명 참고

패키지 기준 해결 버전 패키지 1개

  • npm · jsonwebtoken

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 9.0.0 미만 · 해결 9.0.0 이상

출처: GitHub Advisory Database · CC-BY 4.0

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의