gsd-2021-39880
Vulnerability from gsd
Modified
2022-05-24 00:00
Details
A Denial Of Service vulnerability in the apollo_upload_server Ruby gem in GitLab CE/EE version 11.11 and above allows an attacker to deny access to all users via specially crafted requests to the apollo_upload_server middleware.
Aliases



{
  "GSD": {
    "alias": "CVE-2021-39880",
    "description": "A Denial Of Service vulnerability in the apollo_upload_server Ruby gem in GitLab CE/EE version 11.11 and above allows an attacker to deny access to all users via specially crafted requests to the apollo_upload_server middleware.",
    "id": "GSD-2021-39880"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "apollo_upload_server",
            "purl": "pkg:gem/apollo_upload_server"
          }
        }
      ],
      "aliases": [
        "CVE-2021-39880",
        "GHSA-w6pv-c757-6rgr"
      ],
      "details": "A Denial Of Service vulnerability in the apollo_upload_server Ruby gem\nin GitLab CE/EE version 11.11 and above allows an attacker to deny access to all\nusers via specially crafted requests to the apollo_upload_server middleware.\n",
      "id": "GSD-2021-39880",
      "modified": "2022-05-24T00:00:00.000Z",
      "published": "2022-05-24T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://hackerone.com/reports/1181284"
        },
        {
          "type": "WEB",
          "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39880.json"
        },
        {
          "type": "WEB",
          "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/330561"
        },
        {
          "type": "WEB",
          "url": "https://github.com/jetruby/apollo_upload_server-ruby/pull/44"
        },
        {
          "type": "WEB",
          "url": "https://github.com/jetruby/apollo_upload_server-ruby/commit/b0582c1a3e458eee3c994fb38278bd0221f20486"
        },
        {
          "type": "WEB",
          "url": "https://github.com/jetruby/apollo_upload_server-ruby/releases/tag/2.1.0"
        },
        {
          "type": "WEB",
          "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/330561#note_642879964"
        },
        {
          "type": "WEB",
          "url": "https://vuldb.com/?id.183842"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 6.5,
          "type": "CVSS_V3"
        }
      ],
      "summary": "apollo_upload_server has Denial of Service vulnerability"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@gitlab.com",
        "ID": "CVE-2021-39880",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "GitLab",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003e=14.2, \u003c14.2.2"
                        },
                        {
                          "version_value": "\u003e=14.1, \u003c14.1.4"
                        },
                        {
                          "version_value": "\u003e=11.9, \u003c14.0.9"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "GitLab"
            }
          ]
        }
      },
      "credit": [
        {
          "lang": "eng",
          "value": "Thanks 0xn3va for reporting this vulnerability through our HackerOne bug bounty program"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A Denial Of Service vulnerability in the apollo_upload_server Ruby gem in GitLab CE/EE all versions starting from 11.9 before 14.0.9, all versions starting from 14.1 before 14.1.4, and all versions starting from 14.2 before 14.2.2 allows an attacker to deny access to all users via specially crafted requests to the apollo_upload_server middleware."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 6.4,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "Uncontrolled resource consumption in GitLab"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/330561",
            "refsource": "MISC",
            "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/330561"
          },
          {
            "name": "https://hackerone.com/reports/1181284",
            "refsource": "MISC",
            "url": "https://hackerone.com/reports/1181284"
          },
          {
            "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39880.json",
            "refsource": "CONFIRM",
            "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39880.json"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2021-39880",
      "cvss_v3": 6.5,
      "date": "2022-05-24",
      "description": "A Denial Of Service vulnerability in the apollo_upload_server Ruby gem\nin GitLab CE/EE version 11.11 and above allows an attacker to deny access to all\nusers via specially crafted requests to the apollo_upload_server middleware.\n",
      "gem": "apollo_upload_server",
      "ghsa": "w6pv-c757-6rgr",
      "patched_versions": [
        "\u003e= 2.1.0"
      ],
      "related": {
        "url": [
          "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39880.json",
          "https://gitlab.com/gitlab-org/gitlab/-/issues/330561",
          "https://github.com/jetruby/apollo_upload_server-ruby/pull/44",
          "https://github.com/jetruby/apollo_upload_server-ruby/commit/b0582c1a3e458eee3c994fb38278bd0221f20486",
          "https://github.com/jetruby/apollo_upload_server-ruby/releases/tag/2.1.0",
          "https://gitlab.com/gitlab-org/gitlab/-/issues/330561#note_642879964",
          "https://vuldb.com/?id.183842"
        ]
      },
      "title": "apollo_upload_server has Denial of Service vulnerability",
      "url": "https://hackerone.com/reports/1181284"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c2.1.0",
          "affected_versions": "All versions before 2.1.0",
          "cvss_v2": "AV:N/AC:L/Au:S/C:N/I:N/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-03-17",
          "description": "A Denial Of Service vulnerability in the apollo_upload_server Ruby gem in GitLab CE/EE all versions starting from 11.9 before 14.0.9, all versions starting from 14.1 before 14.1.4, and all versions starting from 14.2 before 14.2.2 allows an attacker to deny access to all users via specially crafted requests to the apollo_upload_server middleware.",
          "fixed_versions": [
            "2.1.0"
          ],
          "identifier": "CVE-2021-39880",
          "identifiers": [
            "GHSA-w6pv-c757-6rgr",
            "CVE-2021-39880"
          ],
          "not_impacted": "All versions starting from 2.1.0",
          "package_slug": "gem/apollo_upload_server",
          "pubdate": "2022-05-24",
          "solution": "Upgrade to version 2.1.0 or above.",
          "title": "apollo_upload_server has Denial of Service vulnerability",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-39880",
            "https://hackerone.com/reports/1181284",
            "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39880.json",
            "https://gitlab.com/gitlab-org/gitlab/-/issues/330561",
            "https://github.com/jetruby/apollo_upload_server-ruby/pull/44",
            "https://github.com/jetruby/apollo_upload_server-ruby/commit/b0582c1a3e458eee3c994fb38278bd0221f20486",
            "https://github.com/jetruby/apollo_upload_server-ruby/releases/tag/2.1.0",
            "https://gitlab.com/gitlab-org/gitlab/-/issues/330561#note_642879964",
            "https://vuldb.com/?id.183842",
            "https://github.com/advisories/GHSA-w6pv-c757-6rgr"
          ],
          "uuid": "adc119d7-021f-4803-b025-b407d4fb6477"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.2.2",
                "versionStartIncluding": "14.2.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.2.2",
                "versionStartIncluding": "14.2.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.1.4",
                "versionStartIncluding": "14.1.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.0.9",
                "versionStartIncluding": "11.9.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.1.4",
                "versionStartExcluding": "14.1.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.0.9",
                "versionStartExcluding": "11.9.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@gitlab.com",
          "ID": "CVE-2021-39880"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "A Denial Of Service vulnerability in the apollo_upload_server Ruby gem in GitLab CE/EE all versions starting from 11.9 before 14.0.9, all versions starting from 14.1 before 14.1.4, and all versions starting from 14.2 before 14.2.2 allows an attacker to deny access to all users via specially crafted requests to the apollo_upload_server middleware."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39880.json",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39880.json"
            },
            {
              "name": "https://hackerone.com/reports/1181284",
              "refsource": "MISC",
              "tags": [
                "Permissions Required",
                "Third Party Advisory"
              ],
              "url": "https://hackerone.com/reports/1181284"
            },
            {
              "name": "https://gitlab.com/gitlab-org/gitlab/-/issues/330561",
              "refsource": "MISC",
              "tags": [
                "Broken Link"
              ],
              "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/330561"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 4.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:L/Au:S/C:N/I:N/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2022-10-19T18:25Z",
      "publishedDate": "2021-10-05T15:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.