Vulnerability identifier: #VU91832
Vulnerability risk: Medium
CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-310
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
authlib
Universal components / Libraries /
Libraries used by multiple products
Vendor: lepture (Hsiaoming Yang)
Description
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
authlib: 0.1 - 1.3.0
External links
http://github.com/lepture/authlib/issues/654
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.