cve-2021-22869
Vulnerability from cvelistv5
Published
2021-09-24 17:50
Modified
2024-08-03 18:51
Severity ?
EPSS score ?
Summary
An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control. A repository with access to one enterprise runner group could access all of the enterprise runner groups within the organization because of improper authentication checks during the request. This could cause code to be run unintentionally by the incorrect runner group. This vulnerability affected GitHub Enterprise Server versions from 3.0.0 to 3.0.15 and 3.1.0 to 3.1.7 and was fixed in 3.0.16 and 3.1.8 releases.
References
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
GitHub | GitHub Enterprise Server |
Version: 3.0 < 3.0.16 Version: 3.1 < 3.1.8 |
{ containers: { adp: [ { providerMetadata: { dateUpdated: "2024-08-03T18:51:07.513Z", orgId: "af854a3a-2127-422b-91ae-364da2661108", shortName: "CVE", }, references: [ { tags: [ "x_refsource_MISC", "x_transferred", ], url: "https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.16", }, { tags: [ "x_refsource_MISC", "x_transferred", ], url: "https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.8", }, ], title: "CVE Program Container", }, ], cna: { affected: [ { product: "GitHub Enterprise Server", vendor: "GitHub", versions: [ { lessThan: "3.0.16", status: "affected", version: "3.0", versionType: "custom", }, { lessThan: "3.1.8", status: "affected", version: "3.1", versionType: "custom", }, ], }, ], descriptions: [ { lang: "en", value: "An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control. A repository with access to one enterprise runner group could access all of the enterprise runner groups within the organization because of improper authentication checks during the request. This could cause code to be run unintentionally by the incorrect runner group. This vulnerability affected GitHub Enterprise Server versions from 3.0.0 to 3.0.15 and 3.1.0 to 3.1.7 and was fixed in 3.0.16 and 3.1.8 releases.", }, ], problemTypes: [ { descriptions: [ { cweId: "CWE-668", description: "CWE-668", lang: "en", type: "CWE", }, ], }, ], providerMetadata: { dateUpdated: "2021-09-24T17:50:10", orgId: "82327ea3-741d-41e4-88f8-2cf9e791e760", shortName: "GitHub_P", }, references: [ { tags: [ "x_refsource_MISC", ], url: "https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.16", }, { tags: [ "x_refsource_MISC", ], url: "https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.8", }, ], source: { discovery: "INTERNAL", }, title: "Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group", x_legacyV4Record: { CVE_data_meta: { ASSIGNER: "product-cna@github.com", ID: "CVE-2021-22869", STATE: "PUBLIC", TITLE: "Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group", }, affects: { vendor: { vendor_data: [ { product: { product_data: [ { product_name: "GitHub Enterprise Server", version: { version_data: [ { version_affected: "<", version_name: "3.0", version_value: "3.0.16", }, { version_affected: "<", version_name: "3.1", version_value: "3.1.8", }, ], }, }, ], }, vendor_name: "GitHub", }, ], }, }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "eng", value: "An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control. A repository with access to one enterprise runner group could access all of the enterprise runner groups within the organization because of improper authentication checks during the request. This could cause code to be run unintentionally by the incorrect runner group. This vulnerability affected GitHub Enterprise Server versions from 3.0.0 to 3.0.15 and 3.1.0 to 3.1.7 and was fixed in 3.0.16 and 3.1.8 releases.", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "eng", value: "CWE-668", }, ], }, ], }, references: { reference_data: [ { name: "https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.16", refsource: "MISC", url: "https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.16", }, { name: "https://docs.github.com/en/enterprise-server@3.1/admin/release-notes#3.1.8", refsource: "MISC", url: "https://docs.github.com/en/enterprise-server@3.1/admin/release-notes#3.1.8", }, ], }, source: { discovery: "INTERNAL", }, }, }, }, cveMetadata: { assignerOrgId: "82327ea3-741d-41e4-88f8-2cf9e791e760", assignerShortName: "GitHub_P", cveId: "CVE-2021-22869", datePublished: "2021-09-24T17:50:10", dateReserved: "2021-01-06T00:00:00", dateUpdated: "2024-08-03T18:51:07.513Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", "vulnerability-lookup:meta": { nvd: "{\"cve\":{\"id\":\"CVE-2021-22869\",\"sourceIdentifier\":\"product-cna@github.com\",\"published\":\"2021-09-24T18:15:07.577\",\"lastModified\":\"2024-11-21T05:50:48.113\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted runner group it should not have had access to. This affects customers using self-hosted runner groups for access control. A repository with access to one enterprise runner group could access all of the enterprise runner groups within the organization because of improper authentication checks during the request. This could cause code to be run unintentionally by the incorrect runner group. This vulnerability affected GitHub Enterprise Server versions from 3.0.0 to 3.0.15 and 3.1.0 to 3.1.7 and was fixed in 3.0.16 and 3.1.8 releases.\"},{\"lang\":\"es\",\"value\":\"Una vulnerabilidad de control de acceso inapropiada en GitHub Enterprise Server permitió que un trabajo de workflow se ejecutara en un grupo de ejecución auto alojado al que no debería haber tenido acceso. Esto afecta a clientes que usan grupos de ejecutores auto hosteado para el control de acceso. Un repositorio con acceso a un grupo de ejecutores de empresa podía acceder a todos los grupos de ejecutores de empresa de la organización debido a unas comprobaciones de autenticación inapropiadas durante la petición. Esto podría causar una ejecución involuntaria de código por parte del grupo de ejecutores incorrecto. Esta vulnerabilidad afectaba a las versiones de GitHub Enterprise Server desde la 3.0.0 a 3.0.15 y desde la 3.1.0 a 3.1.7 y se corrigió en las versiones 3.0.16 y 3.1.8.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":7.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"product-cna@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-668\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-287\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.0.0\",\"versionEndExcluding\":\"3.0.16\",\"matchCriteriaId\":\"04947602-2CE8-4F71-B8F8-698321B08CAD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.1.0\",\"versionEndExcluding\":\"3.1.8\",\"matchCriteriaId\":\"45F01144-515A-4FFA-B7E2-1B6609D44425\"}]}]}],\"references\":[{\"url\":\"https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.16\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.8\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.16\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}", }, }
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.