CVE-2024-2440
Vulnerability from cvelistv5
Published
2024-04-19 17:02
Modified
2024-08-01 19:11
Severity ?
EPSS score ?
Summary
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.
References
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
GitHub | Enterprise Server |
Version: 3.9 ≤ 3.9.12 Version: 3.10 ≤ 3.10.9 Version: 3.11 ≤ 3.11.7 Version: 3.12 ≤ 3.12.0 |
{ containers: { adp: [ { affected: [ { cpes: [ "cpe:2.3:a:github:enterprise_server:3.9.0:*:*:*:*:*:*:*", ], defaultStatus: "affected", product: "enterprise_server", vendor: "github", versions: [ { lessThan: "3.9.13", status: "affected", version: "3.9.0", versionType: "semver", }, ], }, { cpes: [ "cpe:2.3:a:github:enterprise_server:3.10.0:*:*:*:*:*:*:*", ], defaultStatus: "affected", product: "enterprise_server", vendor: "github", versions: [ { lessThan: "3.10.10", status: "affected", version: "3.10.0", versionType: "semver", }, ], }, { cpes: [ "cpe:2.3:a:github:enterprise_server:3.11.0:*:*:*:*:*:*:*", ], defaultStatus: "affected", product: "enterprise_server", vendor: "github", versions: [ { lessThan: "3.11.8", status: "affected", version: "3.11.0", versionType: "semver", }, ], }, { cpes: [ "cpe:2.3:a:github:enterprise_server:3.12.0:*:*:*:*:*:*:*", ], defaultStatus: "affected", product: "enterprise_server", vendor: "github", versions: [ { lessThan: "3.12.2", status: "affected", version: "3.12.0", versionType: "semver", }, ], }, ], metrics: [ { other: { content: { id: "CVE-2024-2440", options: [ { Exploitation: "none", }, { Automatable: "no", }, { "Technical Impact": "partial", }, ], role: "CISA Coordinator", timestamp: "2024-04-23T19:17:31.629538Z", version: "2.0.3", }, type: "ssvc", }, }, ], providerMetadata: { dateUpdated: "2024-07-24T19:46:49.638Z", orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0", shortName: "CISA-ADP", }, title: "CISA ADP Vulnrichment", }, { providerMetadata: { dateUpdated: "2024-08-01T19:11:53.576Z", orgId: "af854a3a-2127-422b-91ae-364da2661108", shortName: "CVE", }, references: [ { tags: [ "x_transferred", ], 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", }, ], title: "CVE Program Container", }, ], cna: { affected: [ { defaultStatus: "affected", product: "Enterprise Server", vendor: "GitHub", versions: [ { changes: [ { at: "3.9.13", status: "unaffected", }, ], lessThanOrEqual: "3.9.12", status: "affected", version: "3.9", versionType: "semver", }, { changes: [ { at: "3.10.10", status: "unaffected", }, ], lessThanOrEqual: "3.10.9", status: "affected", version: "3.10", versionType: "semver", }, { changes: [ { at: "3.11.8", status: "unaffected", }, ], lessThanOrEqual: "3.11.7", status: "affected", version: "3.11", versionType: "semver", }, { changes: [ { at: "3.12.1", status: "unaffected", }, ], lessThanOrEqual: "3.12.0", status: "affected", version: "3.12", versionType: "semver", }, ], }, ], credits: [ { lang: "en", type: "finder", value: "inspector-ambitious", }, ], descriptions: [ { lang: "en", supportingMedia: [ { base64: false, type: "text/html", 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. ", }, ], 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. ", }, ], impacts: [ { capecId: "CAPEC-29", descriptions: [ { lang: "en", value: "CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions", }, ], }, ], 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: { dateUpdated: "2024-04-19T17:02:35.368Z", orgId: "82327ea3-741d-41e4-88f8-2cf9e791e760", shortName: "GitHub_P", }, 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", }, ], source: { discovery: "UNKNOWN", }, title: "Race Condition was identified in GitHub Enterprise Server that allowed maintaining admin permissions", x_generator: { engine: "Vulnogram 0.1.0-dev", }, }, }, cveMetadata: { assignerOrgId: "82327ea3-741d-41e4-88f8-2cf9e791e760", assignerShortName: "GitHub_P", cveId: "CVE-2024-2440", datePublished: "2024-04-19T17:02:29.144Z", dateReserved: "2024-03-13T21:14:42.227Z", dateUpdated: "2024-08-01T19:11:53.576Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", "vulnerability-lookup:meta": { nvd: "{\"cve\":{\"id\":\"CVE-2024-2440\",\"sourceIdentifier\":\"product-cna@github.com\",\"published\":\"2024-04-19T17:15:54.483\",\"lastModified\":\"2024-11-21T09:09:45.437\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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. \"},{\"lang\":\"es\",\"value\":\"Una condición de ejecución en GitHub Enterprise Server permitió a un administrador existente mantener permisos en un repositorio separado al realizar una mutación GraphQL para alterar los permisos del repositorio mientras el repositorio está separado. Esta vulnerabilidad afectó a todas las versiones de GitHub Enterprise Server anteriores a la 3.13 y se solucionó en las versiones 3.9.13, 3.10.10, 3.11.8 y 3.12.1. Esta vulnerabilidad se informó a través del programa GitHub Bug Bounty.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"product-cna@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"LOW\"},\"exploitabilityScore\":0.7,\"impactScore\":4.7}]},\"weaknesses\":[{\"source\":\"product-cna@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-367\"}]}],\"references\":[{\"url\":\"https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.10\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.8\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.2\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.13\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server@3.10/admin/release-notes#3.10.10\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server@3.11/admin/release-notes#3.11.8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server@3.12/admin/release-notes#3.12.2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server@3.9/admin/release-notes#3.9.13\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}", vulnrichment: { containers: "{\"adp\": [{\"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\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-01T19:11:53.576Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-2440\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-04-23T19:17:31.629538Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:github:enterprise_server:3.9.0:*:*:*:*:*:*:*\"], \"vendor\": \"github\", \"product\": \"enterprise_server\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.9.0\", \"lessThan\": \"3.9.13\", \"versionType\": \"semver\"}], \"defaultStatus\": \"affected\"}, {\"cpes\": [\"cpe:2.3:a:github:enterprise_server:3.10.0:*:*:*:*:*:*:*\"], \"vendor\": \"github\", \"product\": \"enterprise_server\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.10.0\", \"lessThan\": \"3.10.10\", \"versionType\": \"semver\"}], \"defaultStatus\": \"affected\"}, {\"cpes\": [\"cpe:2.3:a:github:enterprise_server:3.11.0:*:*:*:*:*:*:*\"], \"vendor\": \"github\", \"product\": \"enterprise_server\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.11.0\", \"lessThan\": \"3.11.8\", \"versionType\": \"semver\"}], \"defaultStatus\": \"affected\"}, {\"cpes\": [\"cpe:2.3:a:github:enterprise_server:3.12.0:*:*:*:*:*:*:*\"], \"vendor\": \"github\", \"product\": \"enterprise_server\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.12.0\", \"lessThan\": \"3.12.2\", \"versionType\": \"semver\"}], \"defaultStatus\": \"affected\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-04-23T19:16:36.265Z\"}}], \"cna\": {\"title\": \"Race Condition was identified in GitHub Enterprise Server that allowed maintaining admin permissions\", \"source\": {\"discovery\": \"UNKNOWN\"}, \"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\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"LOW\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"LOW\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"GitHub\", \"product\": \"Enterprise Server\", \"versions\": [{\"status\": \"affected\", \"changes\": [{\"at\": \"3.9.13\", \"status\": \"unaffected\"}], \"version\": \"3.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"3.9.12\"}, {\"status\": \"affected\", \"changes\": [{\"at\": \"3.10.10\", \"status\": \"unaffected\"}], \"version\": \"3.10\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"3.10.9\"}, {\"status\": \"affected\", \"changes\": [{\"at\": \"3.11.8\", \"status\": \"unaffected\"}], \"version\": \"3.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"3.11.7\"}, {\"status\": \"affected\", \"changes\": [{\"at\": \"3.12.1\", \"status\": \"unaffected\"}], \"version\": \"3.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"3.12.0\"}], \"defaultStatus\": \"affected\"}], \"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\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.1.0-dev\"}, \"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.\\u00a0This 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.\\u00a0This vulnerability was reported via the GitHub Bug Bounty program. \", \"supportingMedia\": [{\"type\": \"text/html\", \"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. \", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-367\", \"description\": \"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition\"}]}], \"providerMetadata\": {\"orgId\": \"82327ea3-741d-41e4-88f8-2cf9e791e760\", \"shortName\": \"GitHub_P\", \"dateUpdated\": \"2024-04-19T17:02:35.368Z\"}}}", cveMetadata: "{\"cveId\": \"CVE-2024-2440\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-01T19:11:53.576Z\", \"dateReserved\": \"2024-03-13T21:14:42.227Z\", \"assignerOrgId\": \"82327ea3-741d-41e4-88f8-2cf9e791e760\", \"datePublished\": \"2024-04-19T17:02:29.144Z\", \"assignerShortName\": \"GitHub_P\"}", dataType: "CVE_RECORD", dataVersion: "5.1", }, }, }
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.
Title of the comment
Description of the comment
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.