Tóm tắt nhanh
- CVE-2017-11424 là lỗ hổng mức CAO (CVSS 7.5) ảnh hưởng pyjwt, pyjwt (pyjwt project).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 1.8%, cao hơn 78.6% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.5.1 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| pyjwt PyPI | < 1.5.1
| 1.5.1
|
| pyjwt | ≤ 1.5.0
| Chưa có bản vá |
Mô tả
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.
Mô tả của NVD
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.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí