CVE-2017-11424
pyjwt - security update
7.5
HIGH
CVSS 3.1
EPSS 1.8%
描述
In PyJWT 1.5.0 and below the `invalid_strings` check in `HMACAlgorithm.prepare_key` does not account for all PEM encoded public keys. Specifically, the PKCS1 PEM encoded format would be allowed because it is prefaced with the string `-----BEGIN RSA PUBLIC KEY-----` which is not accounted for. This enables symmetric/asymmetric key confusion attacks against users using the PKCS1 PEM encoded public keys, which would allow an attacker to craft JWTs from scratch.
如何修補 CVE-2017-11424
要修補 CVE-2017-11424,請將受影響套件升級到下列已修補版本。
- —升級至 1.4.2-1.1 或更新版本
- —升級至 0.2.1-1+deb8u2 或更新版本
- —升級至 1.5.1 或更新版本
- —升級至 1.5.1 或更新版本
CVE-2017-11424 正在被利用嗎?
低 — EPSS 為 1.8%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 1.4.2-1.1
- from 0, < 0.2.1-1+deb8u2
- from 0, < 1.5.1
- from 0, < 1.5.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |