cve-2022-23739
Vulnerability from cvelistv5
Published
2023-01-17 00:00
Modified
2024-08-03 03:51
Severity ?
EPSS score ?
Summary
An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects. Resources associated with repositories were not impacted, such as repository file content, repository-specific projects, issues, or pull requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7.1 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.
References
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
GitHub | GitHub Enterprise Server |
Version: 3.3 < 3.3.16 Version: 3.4 < 3.4.11 Version: 3.5 < 3.5.8 Version: 3.6 < 3.6.4 Version: 3.7 < 3.7.1 |
{ containers: { adp: [ { providerMetadata: { dateUpdated: "2024-08-03T03:51:46.013Z", orgId: "af854a3a-2127-422b-91ae-364da2661108", shortName: "CVE", }, references: [ { tags: [ "x_transferred", ], url: "https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1", }, { tags: [ "x_transferred", ], url: "https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16", }, { tags: [ "x_transferred", ], url: "https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11", }, { tags: [ "x_transferred", ], url: "https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8", }, { tags: [ "x_transferred", ], url: "https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4", }, ], title: "CVE Program Container", }, ], cna: { affected: [ { product: "GitHub Enterprise Server", vendor: "GitHub", versions: [ { lessThan: "3.3.16", status: "affected", version: "3.3", versionType: "custom", }, { lessThan: "3.4.11", status: "affected", version: "3.4", versionType: "custom", }, { lessThan: "3.5.8", status: "affected", version: "3.5", versionType: "custom", }, { lessThan: "3.6.4", status: "affected", version: "3.6", versionType: "custom", }, { lessThan: "3.7.1", status: "affected", version: "3.7", versionType: "custom", }, ], }, ], credits: [ { lang: "en", value: "ahacker1", }, ], descriptions: [ { lang: "en", value: "An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects. Resources associated with repositories were not impacted, such as repository file content, repository-specific projects, issues, or pull requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7.1 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.", }, ], problemTypes: [ { descriptions: [ { cweId: "CWE-863", description: "CWE-863", lang: "en", type: "CWE", }, ], }, ], providerMetadata: { dateUpdated: "2023-01-17T00:00:00", orgId: "82327ea3-741d-41e4-88f8-2cf9e791e760", shortName: "GitHub_P", }, references: [ { url: "https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1", }, { url: "https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16", }, { url: "https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11", }, { url: "https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8", }, { url: "https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4", }, ], source: { discovery: "EXTERNAL", }, title: "Incorrect authorization check in GitHub Enterprise Server leading to escalation of privileges in GraphQL API requests from GitHub Apps using scoped user-to-server tokens", }, }, cveMetadata: { assignerOrgId: "82327ea3-741d-41e4-88f8-2cf9e791e760", assignerShortName: "GitHub_P", cveId: "CVE-2022-23739", datePublished: "2023-01-17T00:00:00", dateReserved: "2022-01-19T00:00:00", dateUpdated: "2024-08-03T03:51:46.013Z", state: "PUBLISHED", }, dataType: "CVE_RECORD", dataVersion: "5.1", "vulnerability-lookup:meta": { nvd: "{\"cve\":{\"id\":\"CVE-2022-23739\",\"sourceIdentifier\":\"product-cna@github.com\",\"published\":\"2023-01-17T19:15:11.340\",\"lastModified\":\"2024-11-21T06:49:12.860\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects. Resources associated with repositories were not impacted, such as repository file content, repository-specific projects, issues, or pull requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7.1 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.\"},{\"lang\":\"es\",\"value\":\"Se identificó una vulnerabilidad de autorización incorrecta en GitHub Enterprise Server, lo que permite escalar privilegios en solicitudes de API GraphQL desde GitHub Apps. Esta vulnerabilidad permitió que una aplicación instalada en una organización obtuviera acceso y modificara la mayoría de los recursos a nivel de la organización que no están vinculados a un repositorio, independientemente de los permisos otorgados, como usuarios y proyectos de toda la organización. Los recursos asociados con los repositorios no se vieron afectados, como el contenido de los archivos del repositorio, los proyectos específicos del repositorio, los problemas o las solicitudes de extracción. Esta vulnerabilidad afectó a todas las versiones de GitHub Enterprise Server anteriores a la 3.7.1 y se solucionó en las versiones 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. Esta vulnerabilidad se informó a través del programa GitHub Bug Bounty.\"}],\"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}]},\"weaknesses\":[{\"source\":\"product-cna@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-863\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-863\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"3.3.16\",\"matchCriteriaId\":\"E4F2D1DF-18B6-41C7-9419-344903BB3329\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.4.0\",\"versionEndExcluding\":\"3.4.11\",\"matchCriteriaId\":\"1ACD576A-8127-4831-B3C9-9E1458E073E8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.5.0\",\"versionEndExcluding\":\"3.5.8\",\"matchCriteriaId\":\"FE47FDA8-4EA9-4C83-992B-A4364FB6B5D6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.6.0\",\"versionEndExcluding\":\"3.6.4\",\"matchCriteriaId\":\"F99D0124-5B44-46B1-9E7B-684D94301E08\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:3.7.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"CC0AA188-F17E-4FED-98E9-10CAC3E9797E\"}]}]}],\"references\":[{\"url\":\"https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1\",\"source\":\"product-cna@github.com\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1\",\"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.