HighFix available
python-authlib — security advisory
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.)
- Products
- python-authlib
- Affected versions
- 0.15.4-1, 0.15.5-1, 1.2.1-1, 1.3.0-1, 1.5.1-1, 1.5.2-1, 1.6.0-1, 1.6.5-1, 1.6.6-1, 1.6.7-1, 1.6.7-1ubuntu0.1~esm1, 1.7.2-1, 1.7.2-2
- Fixed versions
- 0.15.5-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm1
- CVEs
- CVE-2024-37568
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:08 UTC · Revision 1
Source evidence
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.)
osv:UBUNTU-CVE-2024-37568
python-authlib
Fixed versions: 0.15.5-1ubuntu0.1~esm1
python-authlib
Fixed versions: 1.3.0-1ubuntu0.1~esm1
python-authlib
Fixed versions: Not specified
python-authlib
Fixed versions: Not specified
python-authlib
Fixed versions: Not specified
Complete source record
{
"id": "e3a75b76f015db61c831b5b9d63f79cab36ebc804343ff39f9608520374dbd5e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-37568",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-37568",
"summary": "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.)",
"evidence": "osv:UBUNTU-CVE-2024-37568",
"products": [
{
"name": {
"value": "python-authlib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.15.5-1ubuntu0.1~esm1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "0.15.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.15.5-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-authlib",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.3.0-1ubuntu0.1~esm1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "1.2.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.3.0-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-authlib",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.5.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.6.0-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-authlib",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.7-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.7.2-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.7.2-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "python-authlib",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.6.5-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.6.6-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.6.7-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.6.7-1ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2024-37568",
"aliases": [
"UBUNTU-CVE-2024-37568"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.15.5-1ubuntu0.1~esm1"
}
]
}
],
"package": {
"name": "python-authlib",
"purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"0.15.4-1",
"0.15.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-authlib",
"binary_version": "0.15.5-1ubuntu0.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0-1ubuntu0.1~esm1"
}
]
}
],
"package": {
"name": "python-authlib",
"purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1.2.1-1",
"1.3.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-authlib",
"binary_version": "1.3.0-1ubuntu0.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-authlib",
"purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.5.1-1",
"1.5.2-1",
"1.6.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-authlib",
"binary_version": "1.6.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-authlib",
"purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.6.7-1",
"1.7.2-1",
"1.7.2-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-authlib",
"binary_version": "1.7.2-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-authlib",
"purl": "pkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"1.6.0-1",
"1.6.5-1",
"1.6.6-1",
"1.6.7-1",
"1.6.7-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37568.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-authlib",
"binary_version": "1.6.7-1ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:56:38.001235955Z",
"provider": "osv",
"upstream": [
"CVE-2024-37568"
],
"references": [
"https://ubuntu.com/security/CVE-2024-37568",
"https://www.cve.org/CVERecord?id=CVE-2024-37568",
"https://github.com/lepture/authlib/issues/654",
"https://github.com/lepture/authlib/commit/3bea812acefebc9ee108aa24557be3ba8971daf1",
"https://ubuntu.com/security/notices/USN-8065-1"
]
},
"related_cves": [
{
"value": "CVE-2024-37568",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355880,
"published_at": "2024-06-09T19:15:00+00:00"
}