Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39899

In all versions of GitLab CE/EE, an attacker with physical access to a user’s machine may brute force the user’s password via the change password function. There is a rate limit in place, but the attack may still be conducted by stealing the session id from the physical compromise of the account and splitting the attack over several IP addresses and passing in the compromised session value from these various locations.

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

Source evidence

CVE-2021-39899

core-osv · Original source

Published 4 Oct 2021, 17:15 UTC

In all versions of GitLab CE/EE, an attacker with physical access to a user’s machine may brute force the user’s password via the change password function. There is a rate limit in place, but the attack may still be conducted by stealing the session id from the physical compromise of the account and splitting the attack over several IP addresses and passing in the compromised session value from these various locations.

osv:CVE-2021-39899
Complete source record
{
  "id": "768782a4da4a58e9750c12a75d91f4b2c80ce5845af6375dfa670f4dc828d972",
  "url": "https://osv.dev/vulnerability/CVE-2021-39899",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39899",
    "summary": "In all versions of GitLab CE/EE, an attacker with physical access to a user’s machine may brute force the user’s password via the change password function. There is a rate limit in place, but the attack may still be conducted by stealing the session id from the physical compromise of the account and splitting the attack over several IP addresses and passing in the compromised session value from these various locations.",
    "evidence": "osv:CVE-2021-39899",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39899",
      "aliases": [
        "BIT-gitlab-2021-39899",
        "CVE-2021-39899"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
                },
                {
                  "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
                },
                {
                  "fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
                },
                {
                  "introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
                },
                {
                  "fixed": "0816e4664224c86a9c3868127ad890d7cf0526c6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3"
                      },
                      {
                        "fixed": "14.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3"
                      },
                      {
                        "fixed": "14.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v14.1.6-ee",
            "v14.2.4-ee",
            "v14.3.0-ee",
            "v14.1.5-ee",
            "v14.2.3-ee",
            "v14.1.3-ee",
            "v14.2.1-ee",
            "v14.2.0-ee",
            "v14.1.1-ee",
            "v14.1.0-ee",
            "v14.1.0-rc43-ee",
            "v14.1.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-39899.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:58.720017239Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39899.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/339154"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39899",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435208,
  "published_at": "2021-10-04T17:15:08.357+00:00"
}