🔍 CVE-2026-32597

7.5
CVSS Score
HIGH
2026-03-13
2026-09-10 13:18
✅ 완료

🇰🇷 한글 설명

PyJWT는 RFC 7515에서 정의한 'crit' 헤더 파라미터를 검증하지 않아, 이해하지 못하는 확장을 지정한 JWS 토큰을 거부하지 않고 수용합니다. 이는 RFC의 필수 요구사항을 위반하며 토큰 검증을 우회할 수 있습니다. 2.12.0 버전에서 수정되었습니다.

💡 쉬운 설명

PyJWT 라이브러리가 특정 보안 검증을 제대로 하지 않아 조작된 JSON Web Token을 받아들일 수 있습니다. 공격자가 이를 악용하여 토큰 검증을 우회할 수 있습니다.

🇺🇸 원문 (English)

PyJWT is a JSON Web Token implementation in Python. Prior to 2.12.0, PyJWT does not validate the crit (Critical) Header Parameter defined in RFC 7515 §4.1.11. When a JWS token contains a crit array listing extensions that PyJWT does not understand, the library accepts the token instead of rejecting it. This violates the MUST requirement in the RFC. This vulnerability is fixed in 2.12.0.

📍 영향받는 시스템

PyJWT < 2.12.0

⚔️ 공격 벡터

Attacker crafts a JWS token with 'crit' header parameter listing unknown extensions to bypass token validation

🛡️ 대응 방법

Upgrade PyJWT to version 2.12.0 or later

🔧 검증 코드

If Version shows 2.12.0 or higher, system is patched; if lower or package not found, system is vulnerable

Shell / Script
pip show PyJWT 2>/dev/null | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

💻 영향받는 소프트웨어

Python