CVE-2022-29266

apisix/jwt-auth may leak secrets in error response

Published Apr 20, 2022 CVSS 3.1 · 7.5 High EPSS 8.1% KEV · Not listed
Description
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.

Remediation

Vendor Workaround

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 3, 2024, 6:17 AM
Reserved
Apr 15, 2022, 12:00 AM
Status
Modified
Published
Apr 20, 2022, 8:15 AM
Modified
Jun 17, 2026, 4:39 AM