PT-2020-16317

CVE-2020-26160

·

تاريخ النشر

2020-09-30

·

تاريخ التحديث

2026-10-01

الوصف من

CVSS 2.0
7.8
عالية
المقاييسAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions jwt-go versions prior to 4.0.0-preview1 jwt-go before 4.0.0-preview1
Description The issue allows attackers to bypass intended access restrictions in situations where the audience claim in a JWT token is an array of strings, rather than a single string. This occurs because the type assertion fails when m["aud"] is []string{}, resulting in an empty string as the value of aud. This poses a security problem if the JWT token is presented to a service lacking its own audience check.
Recommendations For jwt-go versions prior to 4.0.0-preview1, migrate to golang-jwt at version 3.2.1. As a temporary workaround, consider implementing an audience check in services that verify JWT tokens to prevent bypassing of intended access restrictions.
قابلية الاستغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-W73W-5M7G-F7QC
AZL-41684
CLEANSTART-2025-CI95096
GO-2020-0017
OPENSUSE-SU-2024:11428-1
OPENSUSE-SU-2024:11668-1
RHSA-2021:2042
SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾