### [CVE-2024-28122](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-28122) ![](https://img.shields.io/static/v1?label=Product&message=jwx&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%202.0.0%2C%20%3C%202.0.21%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%3A%20Uncontrolled%20Resource%20Consumption&color=brighgreen) ### Description JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21. ### POC #### Reference - https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259 #### Github - https://github.com/fkie-cad/nvd-json-data-feeds