openEuler Security Advisory
OESA-2024-2443
python-jwcrypto security update
Details
Implements JWK, JWS, JWE specifications with python-cryptography
Security Fix(es):
VUL-0: CVE-2022-3102: python-jwcrypto: jwcrypto token substitution can lead to authentication bypass(CVE-2022-3102)
JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.(CVE-2024-28102)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:22.03-LTS-SP1 | python-jwcrypto | All versions before 1.4.2-3.oe2203sp1 (fixed in 1.4.2-3.oe2203sp1) |