fkie_cve-2021-39945
Vulnerability from fkie_nvd
Published
2021-12-13 16:15
Modified
2024-11-21 06:20
Summary
Improper access control in the GitLab CE/EE API affecting all versions starting from 9.4 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2, allows an author of a Merge Request to approve the Merge Request even after having their project access revoked
Impacted products
Vendor Product Version
gitlab gitlab *
gitlab gitlab *
gitlab gitlab *
gitlab gitlab *
gitlab gitlab *
gitlab gitlab *



{
   configurations: [
      {
         nodes: [
            {
               cpeMatch: [
                  {
                     criteria: "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                     matchCriteriaId: "64438CDF-3C87-455F-A1D6-1DE70D4B68D7",
                     versionEndExcluding: "14.3.6",
                     versionStartIncluding: "9.4.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                     matchCriteriaId: "8B8E7F0C-0331-4308-AB4E-8F61DA7CF766",
                     versionEndExcluding: "14.3.6",
                     versionStartIncluding: "9.4.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                     matchCriteriaId: "1E801B5F-9C94-4CB2-89ED-D071E567132C",
                     versionEndExcluding: "14.4.4",
                     versionStartIncluding: "14.4.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                     matchCriteriaId: "7C38F838-02EA-4E2F-8493-57DD401EF911",
                     versionEndExcluding: "14.4.4",
                     versionStartIncluding: "14.4.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                     matchCriteriaId: "95F59DF7-707C-4C43-8352-8115DAF1C533",
                     versionEndExcluding: "14.5.2",
                     versionStartIncluding: "14.5.0",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                     matchCriteriaId: "64F26CC0-C99A-4748-963B-944F39E4B647",
                     versionEndExcluding: "14.5.2",
                     versionStartIncluding: "14.5.0",
                     vulnerable: true,
                  },
               ],
               negate: false,
               operator: "OR",
            },
         ],
      },
   ],
   cveTags: [],
   descriptions: [
      {
         lang: "en",
         value: "Improper access control in the GitLab CE/EE API affecting all versions starting from 9.4 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2, allows an author of a Merge Request to approve the Merge Request even after having their project access revoked",
      },
      {
         lang: "es",
         value: "Un control de acceso inapropiado en la API de GitLab CE/EE afectando a todas las versiones a partir de 9.4 anteriores a 14.3.6, a todas las versiones a partir de 14.4 anteriores a 14.4.4, a todas las versiones a partir de 14.5 anteriores a 14.5.2, permite a un autor de una solicitud de fusión aprobar la solicitud de fusión incluso después de que le es revocado el acceso al proyecto",
      },
   ],
   id: "CVE-2021-39945",
   lastModified: "2024-11-21T06:20:37.997",
   metrics: {
      cvssMetricV2: [
         {
            acInsufInfo: false,
            baseSeverity: "MEDIUM",
            cvssData: {
               accessComplexity: "LOW",
               accessVector: "NETWORK",
               authentication: "SINGLE",
               availabilityImpact: "NONE",
               baseScore: 4,
               confidentialityImpact: "NONE",
               integrityImpact: "PARTIAL",
               vectorString: "AV:N/AC:L/Au:S/C:N/I:P/A:N",
               version: "2.0",
            },
            exploitabilityScore: 8,
            impactScore: 2.9,
            obtainAllPrivilege: false,
            obtainOtherPrivilege: false,
            obtainUserPrivilege: false,
            source: "nvd@nist.gov",
            type: "Primary",
            userInteractionRequired: false,
         },
      ],
      cvssMetricV31: [
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "NONE",
               baseScore: 2.7,
               baseSeverity: "LOW",
               confidentialityImpact: "NONE",
               integrityImpact: "LOW",
               privilegesRequired: "HIGH",
               scope: "UNCHANGED",
               userInteraction: "NONE",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N",
               version: "3.1",
            },
            exploitabilityScore: 1.2,
            impactScore: 1.4,
            source: "cve@gitlab.com",
            type: "Secondary",
         },
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "NONE",
               baseScore: 2.7,
               baseSeverity: "LOW",
               confidentialityImpact: "NONE",
               integrityImpact: "LOW",
               privilegesRequired: "HIGH",
               scope: "UNCHANGED",
               userInteraction: "NONE",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N",
               version: "3.1",
            },
            exploitabilityScore: 1.2,
            impactScore: 1.4,
            source: "nvd@nist.gov",
            type: "Primary",
         },
      ],
   },
   published: "2021-12-13T16:15:09.827",
   references: [
      {
         source: "cve@gitlab.com",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39945.json",
      },
      {
         source: "cve@gitlab.com",
         tags: [
            "Broken Link",
         ],
         url: "https://gitlab.com/gitlab-org/gitlab/-/issues/331675",
      },
      {
         source: "cve@gitlab.com",
         tags: [
            "Permissions Required",
            "Third Party Advisory",
         ],
         url: "https://hackerone.com/reports/1198317",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39945.json",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Broken Link",
         ],
         url: "https://gitlab.com/gitlab-org/gitlab/-/issues/331675",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Permissions Required",
            "Third Party Advisory",
         ],
         url: "https://hackerone.com/reports/1198317",
      },
   ],
   sourceIdentifier: "cve@gitlab.com",
   vulnStatus: "Modified",
   weaknesses: [
      {
         description: [
            {
               lang: "en",
               value: "CWE-863",
            },
         ],
         source: "nvd@nist.gov",
         type: "Primary",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • 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.