Debian Package Tracker
Register | Log in
Subscribe

python-authlib

Choose email to subscribe with

general
  • source: python-authlib (main)
  • version: 1.6.5-1
  • maintainer: Debian Python Team (DMD)
  • uploaders: Stefano Rivera [DMD]
  • arch: all
  • std-ver: 4.7.2
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.15.4-1
  • o-o-sec: 0.15.4-1+deb11u1
  • oldstable: 1.2.0-1
  • stable: 1.6.0-1
  • testing: 1.6.5-1
  • unstable: 1.6.5-1
versioned links
  • 0.15.4-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.15.4-1+deb11u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.2.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.6.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.6.5-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python-authlib-doc
  • python3-authlib
action needed
3 security issues in trixie high

There are 3 open security issues in trixie.

3 important issues:
  • CVE-2025-59420: Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.4, Authlib’s JWS verification accepts tokens that declare unknown critical header parameters (crit), violating RFC 7515 “must‑understand” semantics. An attacker can craft a signed token with a critical header (for example, bork or cnf) that strict verifiers reject but Authlib accepts. In mixed‑language fleets, this enables split‑brain verification and can lead to policy bypass, replay, or privilege escalation. This issue has been patched in version 1.6.4.
  • CVE-2025-61920: Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk.
  • CVE-2025-62706: Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JWE zip=DEF path performs unbounded DEFLATE decompression. A very small ciphertext can expand into tens or hundreds of megabytes on decrypt, allowing an attacker who can supply decryptable tokens to exhaust memory and CPU and cause denial of service. This issue has been patched in version 1.6.5. Workarounds for this issue involve rejecting or stripping zip=DEF for inbound JWEs at the application boundary, forking and add a bounded decompression guard via decompressobj().decompress(data, MAX_SIZE)) and returning an error when output exceeds a safe limit, or enforcing strict maximum token sizes and fail fast on oversized inputs; combine with rate limiting.
Created: 2025-09-23 Last update: 2025-10-29 05:31
4 security issues in bookworm high

There are 4 open security issues in bookworm.

3 important issues:
  • CVE-2025-59420: Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.4, Authlib’s JWS verification accepts tokens that declare unknown critical header parameters (crit), violating RFC 7515 “must‑understand” semantics. An attacker can craft a signed token with a critical header (for example, bork or cnf) that strict verifiers reject but Authlib accepts. In mixed‑language fleets, this enables split‑brain verification and can lead to policy bypass, replay, or privilege escalation. This issue has been patched in version 1.6.4.
  • CVE-2025-61920: Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk.
  • CVE-2025-62706: Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JWE zip=DEF path performs unbounded DEFLATE decompression. A very small ciphertext can expand into tens or hundreds of megabytes on decrypt, allowing an attacker who can supply decryptable tokens to exhaust memory and CPU and cause denial of service. This issue has been patched in version 1.6.5. Workarounds for this issue involve rejecting or stripping zip=DEF for inbound JWEs at the application boundary, forking and add a bounded decompression guard via decompressobj().decompress(data, MAX_SIZE)) and returning an error when output exceeds a safe limit, or enforcing strict maximum token sizes and fail fast on oversized inputs; combine with rate limiting.
1 issue left for the package maintainer to handle:
  • CVE-2024-37568: (needs triaging) 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.)

You can find information about how to handle this issue in the security team's documentation.

Created: 2024-06-10 Last update: 2025-10-29 05:31
lintian reports 2 warnings normal
Lintian reports 2 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2025-10-08 Last update: 2025-10-08 00:31
debian/patches: 1 patch to forward upstream low

Among the 3 debian patches available in version 1.6.5-1 of the package, we noticed the following issues:

  • 1 patch where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2023-02-26 Last update: 2025-10-07 21:03
news
[rss feed]
  • [2025-10-29] Accepted python-authlib 0.15.4-1+deb11u1 (source) into oldoldstable-security (Daniel Leidert)
  • [2025-10-09] python-authlib 1.6.5-1 MIGRATED to testing (Debian testing watch)
  • [2025-10-07] Accepted python-authlib 1.6.5-1 (source) into unstable (Stefano Rivera)
  • [2025-09-22] python-authlib 1.6.4-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-20] Accepted python-authlib 1.6.4-1 (source) into unstable (Stefano Rivera)
  • [2025-09-11] python-authlib 1.6.3-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-07] Accepted python-authlib 1.6.3-1 (source) into unstable (Stefano Rivera)
  • [2025-08-15] python-authlib 1.6.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-08-10] Accepted python-authlib 1.6.1-1 (source) into unstable (Stefano Rivera)
  • [2025-06-14] python-authlib 1.6.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-05-24] Accepted python-authlib 1.6.0-1 (source) into unstable (Stefano Rivera)
  • [2025-04-08] python-authlib 1.5.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-04-05] Accepted python-authlib 1.5.2-1 (source) into unstable (Stefano Rivera)
  • [2025-03-06] python-authlib 1.5.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-03-03] Accepted python-authlib 1.5.1-1 (source) into unstable (Stefano Rivera)
  • [2025-03-01] python-authlib 1.5.0-1 MIGRATED to testing (Debian testing watch)
  • [2025-02-26] Accepted python-authlib 1.5.0-1 (source) into unstable (Stefano Rivera)
  • [2025-02-01] python-authlib 1.4.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-01-29] Accepted python-authlib 1.4.1-1 (source) into unstable (Stefano Rivera)
  • [2024-12-27] python-authlib 1.4.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-12-24] Accepted python-authlib 1.4.0-1 (source) into unstable (Stefano Rivera)
  • [2024-10-24] python-authlib 1.3.2-2 MIGRATED to testing (Debian testing watch)
  • [2024-10-21] Accepted python-authlib 1.3.2-2 (source) into unstable (Stefano Rivera)
  • [2024-08-30] python-authlib 1.3.2-1 MIGRATED to testing (Debian testing watch)
  • [2024-08-27] Accepted python-authlib 1.3.2-1 (source) into unstable (Stefano Rivera)
  • [2024-06-08] python-authlib 1.3.1-1 MIGRATED to testing (Debian testing watch)
  • [2024-06-06] Accepted python-authlib 1.3.1-1 (source) into unstable (Stefano Rivera)
  • [2024-04-29] python-authlib 1.3.0-3 MIGRATED to testing (Debian testing watch)
  • [2024-04-27] Accepted python-authlib 1.3.0-3 (source) into unstable (Alexandre Detiste)
  • [2024-03-28] python-authlib 1.3.0-2 MIGRATED to testing (Debian testing watch)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian (0, 2)
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 1.6.0-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing