{"id":"UBUNTU-CVE-2025-45765","details":"ruby-jwt v3.0.0.beta1 was discovered to contain weak encryption. NOTE: the Supplier's perspective is \"keysize is not something that is enforced by this library. Currently more recent versions of OpenSSL are enforcing some key sizes and those restrictions apply to the users of this gem also.\"","modified":"2026-11-12T17:25:11.646341683Z","published":"2025-08-07T21:15:00Z","upstream":["CVE-2025-45765"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-45765"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-45765"},{"type":"REPORT","url":"https://gist.github.com/ZupeiNie/c621253068ce5b64911629534879e8f9"},{"type":"REPORT","url":"https://github.com/jwt/ruby-jwt/issues/668"}],"affected":[{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0-3","1.0.0-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.0-3ubuntu0.1~esm1","binary_name":"ruby-jwt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-1","1.5.6-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.6-1ubuntu0.1~esm1","binary_name":"ruby-jwt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-1","2.1.0-2","2.1.0-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"2.1.0-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.2-1","2.2.2-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.2-1ubuntu0.1~esm1","binary_name":"ruby-jwt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-2","2.7.1-1","2.7.1-1+deb13u1build0.24.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.1-1+deb13u1build0.24.04.1","binary_name":"ruby-jwt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"2.7.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1","3.2.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"3.2.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}},{"package":{"name":"ruby-jwt","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-jwt?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1","2.7.1-1+deb13u1build0.26.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-jwt","binary_version":"2.7.1-1+deb13u1build0.26.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-45765.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}