Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39908

In all versions of GitLab CE/EE starting from 0.8.0 before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1 certain Unicode characters can be abused to commit malicious code into projects without being noticed in merge request or source code viewer UI.

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

Source evidence

CVE-2021-39908

core-osv · Original source

Published 1 Apr 2022, 23:15 UTC

In all versions of GitLab CE/EE starting from 0.8.0 before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1 certain Unicode characters can be abused to commit malicious code into projects without being noticed in merge request or source code viewer UI.

osv:CVE-2021-39908
Complete source record
{
  "id": "cae932f7e1b27aa8e02b9348404e97d609940f0936226b3075c372dca1361bb0",
  "url": "https://osv.dev/vulnerability/CVE-2021-39908",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39908",
    "summary": "In all versions of GitLab CE/EE starting from 0.8.0 before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1 certain Unicode characters can be abused to commit malicious code into projects without being noticed in merge request or source code viewer UI.",
    "evidence": "osv:CVE-2021-39908",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-39908",
      "aliases": [
        "BIT-gitlab-2021-39908",
        "CVE-2021-39908"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9ed95b96a6766af9336048a63a29b678f88a9413"
                },
                {
                  "introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
                },
                {
                  "fixed": "3e776d83389c706fb81973736e57ca6a6fb952fc"
                },
                {
                  "introduced": "19c719febd74b6edf549bf6a2c0e36bf8f176d56"
                },
                {
                  "last_affected": "19c719febd74b6edf549bf6a2c0e36bf8f176d56"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "0.8.0"
                      },
                      {
                        "fixed": "14.2.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "0.8.0"
                      },
                      {
                        "fixed": "14.2.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.0"
                      },
                      {
                        "fixed": "14.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.0"
                      },
                      {
                        "fixed": "14.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.4.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.4.0"
                      },
                      {
                        "last_affected": "14.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.4.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.4.0"
                      },
                      {
                        "last_affected": "14.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "14.4.0",
            "v14.3.2-ee",
            "v14.4.0-ee",
            "v14.3.3-ee",
            "v14.2.4-ee",
            "v14.3.0-ee",
            "v14.2.3-ee",
            "v14.2.1-ee",
            "v14.2.0-ee",
            "v14.2.0-rc42-ee",
            "11-10-0cfa69752d8-74ffd66ae-ee",
            "11-10-0cfa69752d8-0d9531c80-ee",
            "11-10-119f9509d50-6d7537235-ee",
            "v7.3.0-ee",
            "v7.3.0.rc1-ee",
            "v7.2.0.rc5-ee",
            "v7.2.0.rc4-ee",
            "v7.2.0.rc3-ee",
            "v7.2.0.rc2-ee",
            "v7.2.0.rc1-ee",
            "v7.1.0-ee",
            "v7.1.0.rc1-ee",
            "v7.0.0-ee",
            "v6.8.0-ee",
            "v6.7.0-ee",
            "v6.7.0.rc1-ee",
            "v6.6.0-ee",
            "v6.5.0-ee",
            "v6.4.0-ee",
            "v6.3.1-ee",
            "v6.3.0-ee",
            "v6.1.0-ee",
            "v6.0.0-ee",
            "v6.0.0-ee.rc1",
            "v6.0.0-ee.beta",
            "v5.2.0",
            "v5.1.0",
            "v5.0.0",
            "v4.0.0",
            "v4.0.0rc2",
            "v4.0.0rc1",
            "v3.1.0",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.2",
            "v2.8.1",
            "v2.8.0",
            "v2.8.0pre",
            "v2.7.0",
            "v2.7.0pre",
            "v2.6.3",
            "v2.6.2",
            "v2.6.1",
            "v2.6.0",
            "v2.6.0pre",
            "v2.5.0",
            "v2.4.1",
            "v2.4.0",
            "v2.4.0pre",
            "v2.3.1",
            "v2.3.0",
            "v2.3.0pre",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.2.0pre"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39908.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:42.214845417Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39908.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/337193",
        "https://hackerone.com/reports/1280077"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39908",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430914,
  "published_at": "2022-04-01T23:15:10.407+00:00"
}