Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39927

Server side request forgery protections in GitLab CE/EE versions between 8.4 and 14.4.4, between 14.5.0 and 14.5.2, and between 14.6.0 and 14.6.1 would fail to protect against attacks sending requests to localhost on port 80 or 443 if GitLab was configured to run on a port other than 80 or 443

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

Source evidence

CVE-2021-39927

core-osv · Original source

Published 18 Jan 2022, 17:15 UTC

Server side request forgery protections in GitLab CE/EE versions between 8.4 and 14.4.4, between 14.5.0 and 14.5.2, and between 14.6.0 and 14.6.1 would fail to protect against attacks sending requests to localhost on port 80 or 443 if GitLab was configured to run on a port other than 80 or 443

osv:CVE-2021-39927
Complete source record
{
  "id": "a135a040c3fbe7f66ef809f8a89491aeb78c70f540b07273dd3b1539b4101e84",
  "url": "https://osv.dev/vulnerability/CVE-2021-39927",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39927",
    "summary": "Server side request forgery protections in GitLab CE/EE versions between 8.4 and 14.4.4, between 14.5.0 and 14.5.2, and between 14.6.0 and 14.6.1 would fail to protect against attacks sending requests to localhost on port 80 or 443 if GitLab was configured to run on a port other than 80 or 443",
    "evidence": "osv:CVE-2021-39927",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39927",
      "aliases": [
        "BIT-gitlab-2021-39927",
        "CVE-2021-39927"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5b5777b8cf3328d27ef549c31f70993da1d1b267"
                },
                {
                  "last_affected": "f7475c863e83756c791917626d3a48bce8e3a975"
                },
                {
                  "introduced": "490a8efda84a04e31ac41b882d95bb717c202437"
                },
                {
                  "last_affected": "c0551c59610dd489bcea25bbdabb752e0380e5bb"
                },
                {
                  "introduced": "518f728f72b10d07e8d7362ab6ddca7844e919ec"
                },
                {
                  "last_affected": "6360adc49dee6a35f101bcb67cdc685c15641679"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "8.4"
                      },
                      {
                        "last_affected": "14.4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "8.4"
                      },
                      {
                        "last_affected": "14.4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.5.0"
                      },
                      {
                        "last_affected": "14.5.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.5.0"
                      },
                      {
                        "last_affected": "14.5.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.6.0"
                      },
                      {
                        "last_affected": "14.6.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.6.0"
                      },
                      {
                        "last_affected": "14.6.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v14.6.1-ee",
            "v14.6.0-ee",
            "v14.6.3-ee",
            "v14.5.3-ee",
            "v14.5.1-ee",
            "v14.5.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39927.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:50.019036371Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39927.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/340476"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39927",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438602,
  "published_at": "2022-01-18T17:15:08.67+00:00"
}