{"api_version":"1","generated_at":"2026-04-22T17:47:46+00:00","cve":"CVE-2022-29266","urls":{"html":"https://cve.report/CVE-2022-29266","api":"https://cve.report/api/cve/CVE-2022-29266.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-29266","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-29266"},"summary":{"title":"CVE-2022-29266","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.","state":"PUBLIC","assigner":"security@apache.org","published_at":"2022-04-20 08:15:00","updated_at":"2022-04-29 23:38:00"},"problem_types":["CWE-209"],"metrics":[],"references":[{"url":"https://lists.apache.org/thread/6qpfyxogbvn18g9xr8g218jjfjbfsbhr","name":"https://lists.apache.org/thread/6qpfyxogbvn18g9xr8g218jjfjbfsbhr","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/04/20/1","name":"[oss-security] 20220420 CVE-2022-29266: Apache APISIX: apisix/jwt-auth may leak secrets in error response","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2022-29266: Apache APISIX: apisix/jwt-auth may leak secrets in\n error response","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29266","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29266","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Discovered and reported by a team from Kingdee Software (China) Ltd. consisting of Zhongyuan Tang, Hongfeng Xie, and Bing Chen.","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"29266","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"apisix","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-29266","qid":"730614","title":"Apache Apisix Sensitive Information Disclosure Vulnerability"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2022-29266","STATE":"PUBLIC","TITLE":"apisix/jwt-auth may leak secrets in error response"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache APISIX","version":{"version_data":[{"version_affected":"<=","version_name":"Apache APISIX","version_value":"2.13.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Discovered and reported by a team from Kingdee Software (China) Ltd. consisting of Zhongyuan Tang, Hongfeng Xie, and Bing Chen."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"critical"}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-209 Generation of Error Message Containing Sensitive Information"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://lists.apache.org/thread/6qpfyxogbvn18g9xr8g218jjfjbfsbhr","name":"https://lists.apache.org/thread/6qpfyxogbvn18g9xr8g218jjfjbfsbhr"},{"refsource":"MLIST","name":"[oss-security] 20220420 CVE-2022-29266: Apache APISIX: apisix/jwt-auth may leak secrets in error response","url":"http://www.openwall.com/lists/oss-security/2022/04/20/1"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"eng","value":"1. Upgrade to 2.13.1 and above\n\n2. Apply the following patch to Apache APISIX and rebuild it:\nThis will make this error message no longer contain sensitive information and return a fixed error message to the caller.\nFor the current LTS 2.13.x or master:\nhttps://github.com/apache/apisix/pull/6846\nhttps://github.com/apache/apisix/pull/6847\nhttps://github.com/apache/apisix/pull/6858\nFor the last LTS 2.10.x:\nhttps://github.com/apache/apisix/pull/6847\nhttps://github.com/apache/apisix/pull/6855\n\n3. Manually modify the version you are using according to the commit above and rebuild it to circumvent the vulnerability."}]},"nvd":{"publishedDate":"2022-04-20 08:15:00","lastModifiedDate":"2022-04-29 23:38:00","problem_types":["CWE-209"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*","versionEndExcluding":"2.13.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}