USN-5526-2

Source
https://ubuntu.com/security/notices/USN-5526-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5526-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5526-2
Related
Published
2022-08-17T01:58:27Z
Modified
2026-02-10T04:42:42Z
Summary
pyjwt regression
Details

USN-5526-1 fixed vulnerabilities in PyJWT. Unfortunately this caused a regression by incrementing the internal package version number on Ubuntu 22.04 LTS. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

Aapo Oksman discovered that PyJWT incorrectly handled signatures constructed from SSH public keys. A remote attacker could use this to forge a JWT signature.

References

Affected packages

Ubuntu:22.04:LTS / pyjwt

Package

Name
pyjwt
Purl
pkg:deb/ubuntu/pyjwt@2.3.0-1ubuntu0.2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.0-1ubuntu0.2

Affected versions

1.*
1.7.1-2ubuntu2
2.*
2.1.0-1
2.3.0-1
2.3.0-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.3.0-1ubuntu0.2",
            "binary_name": "python3-jwt"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5526-2.json"
cves_map
{
    "ecosystem": "Ubuntu:22.04:LTS",
    "cves": []
}