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

CVE-2026-102271 PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard

설명

PyJWT is a Python implementation of JSON Web Token standards. From 2.4.0 until 2.14.0, PyJWT HMACAlgorithm.prepare_key is affected because asymmetric-key guard relies on textual markers that are absent from DER encoding. This occurs when an application mixes HMAC and asymmetric algorithms and supplies a DER public key as the shared verification key. As a result, PyJWT uses public DER bytes as an HMAC secret. Consequently, an attacker who knows the public key can forge authenticated HMAC tokens. This issue is fixed in version 2.14.0.

영향 받는 제품 제품 1개

  • jpadilla

    pyjwt

    해결 버전 있음

    영향 받는 버전

    • 2.4.0 이상 2.14.0 미만

    해결 버전

    • 2.14.0 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의