{"id":"UBUNTU-CVE-2024-37568","details":"lepture Authlib before 1.3.1 has 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. (This is similar to CVE-2022-29217 and CVE-2024-33663.)","modified":"2026-07-16T20:41:11.172464309Z","published":"2024-06-09T19:15:00Z","related":["USN-8065-1"],"upstream":["CVE-2024-37568"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-37568"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-37568"},{"type":"REPORT","url":"https://github.com/lepture/authlib/issues/654"},{"type":"REPORT","url":"https://github.com/lepture/authlib/commit/3bea812acefebc9ee108aa24557be3ba8971daf1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8065-1"}],"affected":[{"package":{"name":"python-authlib","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.5-1ubuntu0.1~esm1"}]}],"versions":["0.15.4-1","0.15.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-authlib","binary_version":"0.15.5-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"}},{"package":{"name":"python-authlib","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-1ubuntu0.1~esm1"}]}],"versions":["1.2.1-1","1.3.0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"python3-authlib","binary_version":"1.3.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"}},{"package":{"name":"python-authlib","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-authlib?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.1-1","1.5.2-1","1.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.0-1","binary_name":"python3-authlib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"}},{"package":{"name":"python-authlib","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1","1.6.5-1","1.6.6-1","1.6.7-1","1.6.7-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.7-1ubuntu0.1~esm1","binary_name":"python3-authlib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}