Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22218

All versions of GitLab CE/EE starting from 12.8 before 13.10.5, all versions starting from 13.11 before 13.11.5, and all versions starting from 13.12 before 13.12.2 were affected by an issue in the handling of x509 certificates that could be used to spoof author of signed commits.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22218
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:12 UTC · Revision 1

Source evidence

CVE-2021-22218

core-osv · Original source

Published 8 Jun 2021, 16:15 UTC

All versions of GitLab CE/EE starting from 12.8 before 13.10.5, all versions starting from 13.11 before 13.11.5, and all versions starting from 13.12 before 13.12.2 were affected by an issue in the handling of x509 certificates that could be used to spoof author of signed commits.

osv:CVE-2021-22218
Complete source record
{
  "id": "e516de245b00327f0e2decf441a145d3269a8306e16bd2f3b171365d23429551",
  "url": "https://osv.dev/vulnerability/CVE-2021-22218",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22218",
    "summary": "All versions of GitLab CE/EE starting from 12.8 before 13.10.5, all versions starting from 13.11 before 13.11.5, and all versions starting from 13.12 before 13.12.2 were affected by an issue in the handling of x509 certificates that could be used to spoof author of signed commits.",
    "evidence": "osv:CVE-2021-22218",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2021-22218",
      "aliases": [
        "BIT-gitlab-2021-22218",
        "CVE-2021-22218"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0bd32f788647bb832f3d9eb5746cbda5300e0fa2"
                },
                {
                  "fixed": "7327f6c9bf4fa71bc518992f995cc7648c102c07"
                },
                {
                  "introduced": "47f41a4a74f364c731aafd34a93bddb630f62230"
                },
                {
                  "fixed": "d6e2cf8d41eceec30c20b921d9779bbd539ae594"
                },
                {
                  "introduced": "12a3ec8fb4a540576b2d47247bc86ea7e2c7565b"
                },
                {
                  "fixed": "865a93b831bfcc63d49d6f2d14ccfafe216e4a99"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.8.0"
                      },
                      {
                        "fixed": "13.10.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.8.0"
                      },
                      {
                        "fixed": "13.10.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.11.0"
                      },
                      {
                        "fixed": "13.11.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.11.0"
                      },
                      {
                        "fixed": "13.11.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.12.0"
                      },
                      {
                        "fixed": "13.12.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.12.0"
                      },
                      {
                        "fixed": "13.12.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v13.11.4-ee",
            "v13.12.1-ee",
            "v13.11.3-ee",
            "v13.12.0-ee",
            "v13.11.1-ee",
            "v13.11.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22218.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:29.594791747Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22218.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/297665",
        "https://hackerone.com/reports/1077019"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22218",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434052,
  "published_at": "2021-06-08T16:15:13.53+00:00"
}