cve/2024/CVE-2024-28102.md
2024-06-09 00:33:16 +00:00

19 lines
1.0 KiB
Markdown

### [CVE-2024-28102](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28102)
![](https://img.shields.io/static/v1?label=Product&message=jwcrypto&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.5.6%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-770%3A%20Allocation%20of%20Resources%20Without%20Limits%20or%20Throttling&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97
- https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97
#### Github
No PoCs found on GitHub currently.