{
  "cveId": "CVE-2023-22742",
  "url": "https://patchblox.com/security/cve/CVE-2023-22742",
  "summary": "CVE-2023-22742 is fixed in 5 products on 1 platform, first by DEBIAN-CVE-2023-22742, released January 20, 2023. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libgit2: libgit2 is a cross-platform, linkable library implementation of Git",
  "description": "libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the \u0060certificate_check\u0060 field of libgit2\u0027s \u0060git_remote_callbacks\u0060 structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are manually checked.",
  "published": "2023-01-20T15:15:00Z",
  "severity": "medium",
  "cvss": 5.9,
  "cvssVector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
  "epss": 0.00607,
  "epssPercentile": 0.49302,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libgit2",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.5.1\u002Bds-1",
      "fix": "DEBIAN-CVE-2023-22742",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-22742",
      "released": "2023-01-20T23:15:10Z"
    },
    {
      "platform": "linux",
      "product": "libgit2",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.5.1\u002Bds-1",
      "fix": "DEBIAN-CVE-2023-22742",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-22742",
      "released": "2023-01-20T23:15:10Z"
    },
    {
      "platform": "linux",
      "product": "libgit2",
      "release": "Debian 14",
      "fixedVersion": "1.5.1\u002Bds-1",
      "fix": "DEBIAN-CVE-2023-22742",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2023-22742",
      "released": "2023-01-20T23:15:10Z"
    },
    {
      "platform": "linux",
      "product": "libgit2-1.1",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.1.0\u002Bdfsg.1-4.1ubuntu0.1",
      "fix": "libgit2-1.1 1.1.0\u002Bdfsg.1-4.1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgit2-1.1-1.1.0-dfsg.1-4.1ubuntu0.1",
      "released": "2024-02-06T14:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgit2-26",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.26.0\u002Bdfsg.1-1.1ubuntu0.2\u002Besm1",
      "fix": "libgit2-26 0.26.0\u002Bdfsg.1-1.1ubuntu0.2\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libgit2-26-0.26.0-dfsg.1-1.1ubuntu0.2-esm1",
      "released": "2024-02-06T14:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgit2-28",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.28.4\u002Bdfsg.1-2ubuntu0.1",
      "fix": "libgit2-28 0.28.4\u002Bdfsg.1-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libgit2-28-0.28.4-dfsg.1-2ubuntu0.1",
      "released": "2024-02-06T14:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libgit2-fixtures",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.1.0\u002Bdfsg.1-4.1ubuntu0.1",
      "fix": "libgit2-fixtures 1.1.0\u002Bdfsg.1-4.1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libgit2-fixtures-1.1.0-dfsg.1-4.1ubuntu0.1",
      "released": "2024-02-06T14:16:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}