UBUNTU-CVE-2025-61152

Source
https://ubuntu.com/security/CVE-2025-61152
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61152.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-61152
Upstream
  • CVE-2025-61152
Published
2025-10-10T14:15:00Z
Modified
2025-12-05T11:57:06Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

python-jose thru 3.3.0 allows JWT tokens with 'alg=none' to be decoded and accepted without any cryptographic signature verification. A malicious actor can craft a forged token with arbitrary claims (e.g., is_admin=true) and bypass authentication checks, leading to privilege escalation or unauthorized access in applications that rely on python-jose for token validation. This issue is exploitable unless developers explicitly reject 'alg=none' tokens, which is not enforced by the library. NOTE: all parties agree that the issue is not relevant because it only occurs in a "verify_signature": False situation.

References

Affected packages

Ubuntu:22.04:LTS / python-jose

Package

Name
python-jose
Purl
pkg:deb/ubuntu/python-jose@3.3.0+dfsg-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.3.0+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-jose",
            "binary_version": "3.3.0+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61152.json"

Ubuntu:24.04:LTS / python-jose

Package

Name
python-jose
Purl
pkg:deb/ubuntu/python-jose@3.3.0+dfsg-4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.3.0+dfsg-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-jose",
            "binary_version": "3.3.0+dfsg-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61152.json"