{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Low"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-12278.json"
      }
    ],
    "title": "libgit2: files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams",
    "tracking": {
      "current_release_date": "2026-11-26T10:57:51+00:00",
      "generator": {
        "date": "2026-11-26T10:57:51+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.8"
        }
      },
      "id": "CVE-2020-12278",
      "initial_release_date": "2020-01-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2020-01-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-10-28T09:48:08+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-26T10:57:51+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 8",
                "product": {
                  "name": "Red Hat Enterprise Linux 8",
                  "product_id": "red_hat_enterprise_linux_8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 8"
          },
          {
            "category": "product_version",
            "name": "libgit2.src",
            "product": {
              "name": "libgit2.src",
              "product_id": "libgit2.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libgit2?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libgit2-devel",
            "product": {
              "name": "libgit2-devel",
              "product_id": "libgit2-devel",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libgit2-devel"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgit2.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:libgit2.src"
        },
        "product_reference": "libgit2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgit2-devel as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:libgit2-devel"
        },
        "product_reference": "libgit2-devel",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libgit2.src as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:libgit2.src"
        },
        "product_reference": "libgit2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2020-12278",
      "cwe": {
        "id": "CWE-73",
        "name": "External Control of File Name or Path"
      },
      "discovery_date": "2020-04-29T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1829397"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. path.c mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1352.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libgit2: files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Even if the code in the versions of libgit2 as shipped with Red Hat Enterprise Linux 7, and 8 are affected by this flaw, Red Hat does not support the NTFS filesystem. For this reason, the flaw has a Low Impact.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_enterprise_linux_7:libgit2.src",
          "red_hat_enterprise_linux_8:libgit2-devel",
          "red_hat_enterprise_linux_8:libgit2.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2020-12278"
        },
        {
          "category": "external",
          "summary": "RHBZ#1829397",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1829397"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2020-12278",
          "url": "https://www.cve.org/CVERecord?id=CVE-2020-12278"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2020-12278",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12278"
        }
      ],
      "release_date": "2019-09-18T00:00:00+00:00",
      "remediations": [
        {
          "category": "none_available",
          "details": "Fix deferred",
          "product_ids": [
            "red_hat_enterprise_linux_7:libgit2.src",
            "red_hat_enterprise_linux_8:libgit2-devel",
            "red_hat_enterprise_linux_8:libgit2.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "red_hat_enterprise_linux_7:libgit2.src",
            "red_hat_enterprise_linux_8:libgit2-devel",
            "red_hat_enterprise_linux_8:libgit2.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_enterprise_linux_7:libgit2.src",
            "red_hat_enterprise_linux_8:libgit2-devel",
            "red_hat_enterprise_linux_8:libgit2.src"
          ]
        }
      ],
      "title": "libgit2: files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams"
    }
  ]
}