{"id":"CVE-2024-2440","state":"PUBLISHED","title":"Race Condition was identified in GitHub Enterprise Server that allowed maintaining admin permissions","description":"A race condition in GitHub Enterprise Server allowed an existing admin to maintain permissions on a detached repository by making a GraphQL mutation to alter repository permissions while the repository is detached. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13 and was fixed in versions 3.9.13, 3.10.10, 3.11.8 and 3.12.1. This vulnerability was reported via the GitHub Bug Bounty program. ","publishedAt":"2024-04-19T17:02:29.144Z","updatedAt":"2024-08-01T19:11:53.576Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L","source":"GitHub_P"},"assigner":"GitHub_P","products":["GitHub Enterprise Server"],"affected":[{"vendor":"GitHub","product":"Enterprise Server","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected","lessThanOrEqual":"3.9.12","changes":[{"at":"3.9.13","status":"unaffected"}],"versionType":"semver"},{"version":"3.10","status":"affected","lessThanOrEqual":"3.10.9","changes":[{"at":"3.10.10","status":"unaffected"}],"versionType":"semver"},{"version":"3.11","status":"affected","lessThanOrEqual":"3.11.7","changes":[{"at":"3.11.8","status":"unaffected"}],"versionType":"semver"},{"version":"3.12","status":"affected","lessThanOrEqual":"3.12.0","changes":[{"at":"3.12.1","status":"unaffected"}],"versionType":"semver"}]}],"references":["https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.13","https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.10","https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.8","https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.2"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2440.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2440","state":"PUBLISHED","datePublished":"2024-04-19T17:02:29.144Z","dateUpdated":"2024-08-01T19:11:53.576Z","assignerShortName":"GitHub_P","assignerOrgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","dateReserved":"2024-03-13T21:14:42.227Z"},"containers":{"cna":{"title":"Race Condition was identified in GitHub Enterprise Server that allowed maintaining admin permissions","descriptions":[{"lang":"en","value":"A race condition in GitHub Enterprise Server allowed an existing admin to maintain permissions on a detached repository by making a GraphQL mutation to alter repository permissions while the repository is detached. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13 and was fixed in versions 3.9.13, 3.10.10, 3.11.8 and 3.12.1. This vulnerability was reported via the GitHub Bug Bounty program. "}],"affected":[{"vendor":"GitHub","product":"Enterprise Server","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected","lessThanOrEqual":"3.9.12","changes":[{"at":"3.9.13","status":"unaffected"}],"versionType":"semver"},{"version":"3.10","status":"affected","lessThanOrEqual":"3.10.9","changes":[{"at":"3.10.10","status":"unaffected"}],"versionType":"semver"},{"version":"3.11","status":"affected","lessThanOrEqual":"3.11.7","changes":[{"at":"3.11.8","status":"unaffected"}],"versionType":"semver"},{"version":"3.12","status":"affected","lessThanOrEqual":"3.12.0","changes":[{"at":"3.12.1","status":"unaffected"}],"versionType":"semver"}]}],"references":[{"url":"https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.13"},{"url":"https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.10"},{"url":"https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.8"},{"url":"https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.2"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_P","orgId":"82327ea3-741d-41e4-88f8-2cf9e791e760","dateUpdated":"2024-04-19T17:02:35.368Z"},"credits":[{"lang":"en","type":"finder","value":"inspector-ambitious"}],"impacts":[{"capecId":"CAPEC-29","descriptions":[{"lang":"en","value":"CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"github","product":"enterprise_server","defaultStatus":"affected","versions":[{"version":"3.9.0","status":"affected","lessThan":"3.9.13","versionType":"semver"}],"cpes":["cpe:2.3:a:github:enterprise_server:3.9.0:*:*:*:*:*:*:*"]},{"vendor":"github","product":"enterprise_server","defaultStatus":"affected","versions":[{"version":"3.10.0","status":"affected","lessThan":"3.10.10","versionType":"semver"}],"cpes":["cpe:2.3:a:github:enterprise_server:3.10.0:*:*:*:*:*:*:*"]},{"vendor":"github","product":"enterprise_server","defaultStatus":"affected","versions":[{"version":"3.11.0","status":"affected","lessThan":"3.11.8","versionType":"semver"}],"cpes":["cpe:2.3:a:github:enterprise_server:3.11.0:*:*:*:*:*:*:*"]},{"vendor":"github","product":"enterprise_server","defaultStatus":"affected","versions":[{"version":"3.12.0","status":"affected","lessThan":"3.12.2","versionType":"semver"}],"cpes":["cpe:2.3:a:github:enterprise_server:3.12.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-04-23T19:17:31.629538Z","id":"CVE-2024-2440","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-24T19:46:49.638Z"}},{"title":"CVE Program Container","references":[{"url":"https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.13","tags":["x_transferred"]},{"url":"https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.10","tags":["x_transferred"]},{"url":"https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.8","tags":["x_transferred"]},{"url":"https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.2","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:11:53.576Z"}}]}}}