{"id":"CVE-2022-29266","published":"2022-04-20T07:15:13Z","modified":"2024-08-03T06:17:54Z","title":"apisix/jwt-auth may leak secrets in error response","vendor":"Apache","product":"Apache APISIX","tier":"tail","description":{"text":"In APache APISIX before 3.13.1, the jwt-auth plugin has a security issue that leaks the user's secret key because the error message returned from the dependency lua-resty-jwt contains sensitive information.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0814,"percentile":0.94977,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://lists.apache.org/thread/6qpfyxogbvn18g9xr8g218jjfjbfsbhr","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/20/1","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":19.0}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache APISIX","versions":[">= Apache APISIX, <= 2.13.0"]}],"workarounds":{"items":["1. Upgrade to 2.13.1 and above 2. Apply the following patch to Apache APISIX and rebuild it: This will make this error message no longer contain sensitive information and return a fixed error message to the caller. For the current LTS 2.13.x or master: https://github.com/apache/apisix/pull/6846 https://github.com/apache/apisix/pull/6847 https://github.com/apache/apisix/pull/6858 For the last LTS 2.10.x: https://github.com/apache/apisix/pull/6847 https://github.com/apache/apisix/pull/6855 3. Manually modify the version you are using according to the commit above and rebuild it to circumvent the vulnerability."],"from":"CVE.org CNA","provenance":"source"},"summary":{"text":"The jwt-auth plugin in Apache APISIX before 3.13.1 leaks the user's secret key through error messages, because the error text returned by its dependency lua-resty-jwt contains sensitive information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:54:58Z"},"euvd":{"id":"EUVD-2022-33609","exploited":false,"provenance":"source"}}