VDB

PYSEC-2024-52

PYSEC-2024-52 PUBLISHED

Record from OSV · Published June 9, 2024

authlib is fixed in 1.3.1 (PyPI)

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.)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
authlibPyPI1.3.1

Affected products

VendorProductVersions
PyPIauthlib1.0.0a1, 0, 0.10

Timeline

  • Jun 9, 2024 CVE Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2024-52
vulnetix vdb fixes PYSEC-2024-52

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2024-52/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›