Advisory

DEBIAN-CVE-2025-59420

Also known as: CVE-2025-59420

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2025-09-22 18:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

python-authlib

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.2.0-1+deb12u1 (ecosystem)

Fixed versions

1.2.0-1+deb12u1

Fix

  • Fixed version 1.2.0-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-authlib

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.6.0-1+deb13u1 (ecosystem)

Fixed versions

1.6.0-1+deb13u1

Fix

  • Fixed version 1.6.0-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-authlib

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.6.4-1 (ecosystem)

Fixed versions

1.6.4-1

Fix

  • Fixed version 1.6.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences