Skip to content
Heist/ feed
Back to feed
Critical

libjwt — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-25189

libjwt 1.15.3 uses strcmp (which is not constant time) to verify authentication, which makes it easier to bypass authentication via a timing side channel.

Products
libjwt
Affected versions
1.10.2-1, 1.10.2-1build1, 1.17.0-2, 1.17.0-2build1, 1.17.0-2build2, 1.17.2-1, 1.17.2-1build1, 1.17.2-1build2, 1.8.0+dfsg-1, 1.8.0+dfsg-2, 1.9.0-1, 1.9.0-1build1
Fixed versions
Not specified
CVEs
CVE-2024-25189
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:07 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-25189

core-osv · Original source

Published 8 Feb 2024, 17:15 UTC

libjwt 1.15.3 uses strcmp (which is not constant time) to verify authentication, which makes it easier to bypass authentication via a timing side channel.

osv:UBUNTU-CVE-2024-25189

libjwt

Fixed versions: Not specified

libjwt

Fixed versions: Not specified

libjwt

Fixed versions: Not specified

libjwt

Fixed versions: Not specified

libjwt

Fixed versions: Not specified

libjwt

Fixed versions: Not specified

libjwt

Fixed versions: Not specified

Complete source record
{
  "id": "1b60709d2543a109306589f601448db515231c6ed50bbd1afd7885db12af69ce",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-25189",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-25189",
    "summary": "libjwt 1.15.3 uses strcmp (which is not constant time) to verify authentication, which makes it easier to bypass authentication via a timing side channel.",
    "evidence": "osv:UBUNTU-CVE-2024-25189",
    "products": [
      {
        "name": {
          "value": "libjwt",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.0+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.8.0+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.9.0-1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libjwt",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libjwt",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.10.2-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libjwt",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.2-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.17.0-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.17.0-2build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.17.0-2build2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libjwt",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.2-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libjwt",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.2-1build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.17.2-1build2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libjwt",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.17.2-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.17.2-1build1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2024-25189",
      "aliases": [
        "UBUNTU-CVE-2024-25189"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libjwt",
            "purl": "pkg:deb/ubuntu/libjwt?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.8.0+dfsg-1",
            "1.8.0+dfsg-2",
            "1.9.0-1",
            "1.9.0-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25189.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjwt0",
                "binary_version": "1.9.0-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libjwt",
            "purl": "pkg:deb/ubuntu/libjwt?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.10.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25189.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjwt-gnutls0",
                "binary_version": "1.10.2-1"
              },
              {
                "binary_name": "libjwt0",
                "binary_version": "1.10.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libjwt",
            "purl": "pkg:deb/ubuntu/libjwt?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.10.2-1",
            "1.10.2-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25189.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjwt-gnutls0",
                "binary_version": "1.10.2-1build1"
              },
              {
                "binary_name": "libjwt0",
                "binary_version": "1.10.2-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libjwt",
            "purl": "pkg:deb/ubuntu/libjwt?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.10.2-1build1",
            "1.17.0-2",
            "1.17.0-2build1",
            "1.17.0-2build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25189.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjwt-gnutls2",
                "binary_version": "1.17.0-2build2"
              },
              {
                "binary_name": "libjwt2",
                "binary_version": "1.17.0-2build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libjwt",
            "purl": "pkg:deb/ubuntu/libjwt?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.17.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25189.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjwt-gnutls2",
                "binary_version": "1.17.2-1"
              },
              {
                "binary_name": "libjwt2",
                "binary_version": "1.17.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libjwt",
            "purl": "pkg:deb/ubuntu/libjwt?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.17.2-1build1",
            "1.17.2-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25189.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjwt-gnutls2",
                "binary_version": "1.17.2-1build2"
              },
              {
                "binary_name": "libjwt2",
                "binary_version": "1.17.2-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libjwt",
            "purl": "pkg:deb/ubuntu/libjwt?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.17.2-1",
            "1.17.2-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-25189.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libjwt-gnutls2",
                "binary_version": "1.17.2-1build1"
              },
              {
                "binary_name": "libjwt2",
                "binary_version": "1.17.2-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:33.160250975Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-25189"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-25189",
        "https://github.com/P3ngu1nW/CVE_Request/blob/main/benmcollins%3Alibjwt.md",
        "https://github.com/benmcollins/libjwt/commit/f73bac57c5bece16ac24f1a70022aa34355fc1bf",
        "https://github.com/benmcollins/libjwt/commit/a5d61ef4f1b383876e0a78534383f38159471fd6",
        "https://www.cve.org/CVERecord?id=CVE-2024-25189"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-25189",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355787,
  "published_at": "2024-02-08T17:15:00+00:00"
}