CVE-2023-23766 (GCVE-0-2023-23766)
Vulnerability from cvelistv5 – Published: 2023-09-22 14:18 – Updated: 2024-09-24 14:29
VLAI?
Title
Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling
Summary
An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions 3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1. This vulnerability was reported via the GitHub Bug Bounty program.
Severity ?
4.5 (Medium)
CWE
- CWE-697 - Incorrect Comparison
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| GitHub | Enterprise Server |
Affected:
3.6.0 , < 3.6.17
(semver)
Affected: 3.7.0 , < 3.7.15 (semver) Affected: 3.8.0 , < 3.8.8 (semver) Affected: 3.9.0 , < 3.9.3 (semver) Affected: 3.10.0 , < 3.10.1 (semver) |
Credits
inspector-amibitious
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T10:42:25.887Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://docs.github.com/enterprise-server@3.6/admin/release-notes#3.6.17"
},
{
"tags": [
"x_transferred"
],
"url": "https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.15"
},
{
"tags": [
"x_transferred"
],
"url": "https://docs.github.com/enterprise-server@3.8/admin/release-notes#3.8.8"
},
{
"tags": [
"x_transferred"
],
"url": "https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.3"
},
{
"tags": [
"x_transferred"
],
"url": "https://docs.github.com/enterprise-server@3.10/admin/release-notes#3.10.1"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2023-23766",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-09-24T14:16:47.459010Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-09-24T14:29:38.315Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Enterprise Server",
"vendor": "GitHub",
"versions": [
{
"lessThan": "3.6.17",
"status": "affected",
"version": "3.6.0",
"versionType": "semver"
},
{
"lessThan": "3.7.15",
"status": "affected",
"version": "3.7.0",
"versionType": "semver"
},
{
"lessThan": "3.8.8",
"status": "affected",
"version": "3.8.0",
"versionType": "semver"
},
{
"lessThan": "3.9.3",
"status": "affected",
"version": "3.9.0",
"versionType": "semver"
},
{
"lessThan": "3.10.1",
"status": "affected",
"version": "3.10.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"user": "00000000-0000-4000-9000-000000000000",
"value": "inspector-amibitious"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions \u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003e3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1\u003c/span\u003e. This vulnerability was reported via the GitHub Bug Bounty program."
}
],
"value": "An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions 3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1. This vulnerability was reported via the GitHub Bug Bounty program."
}
],
"impacts": [
{
"descriptions": [
{
"lang": "en",
"value": "CWE-697"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-697",
"description": "CWE-697 Incorrect Comparison",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-09-22T14:18:49.735Z",
"orgId": "82327ea3-741d-41e4-88f8-2cf9e791e760",
"shortName": "GitHub_P"
},
"references": [
{
"url": "https://docs.github.com/enterprise-server@3.6/admin/release-notes#3.6.17"
},
{
"url": "https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.15"
},
{
"url": "https://docs.github.com/enterprise-server@3.8/admin/release-notes#3.8.8"
},
{
"url": "https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.3"
},
{
"url": "https://docs.github.com/enterprise-server@3.10/admin/release-notes#3.10.1"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling",
"x_generator": {
"engine": "Vulnogram 0.1.0-dev"
}
}
},
"cveMetadata": {
"assignerOrgId": "82327ea3-741d-41e4-88f8-2cf9e791e760",
"assignerShortName": "GitHub_P",
"cveId": "CVE-2023-23766",
"datePublished": "2023-09-22T14:18:49.735Z",
"dateReserved": "2023-01-17T20:40:37.555Z",
"dateUpdated": "2024-09-24T14:29:38.315Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2023-23766\",\"sourceIdentifier\":\"product-cna@github.com\",\"published\":\"2023-09-22T15:15:10.557\",\"lastModified\":\"2024-11-21T07:46:47.573\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions 3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1. This vulnerability was reported via the GitHub Bug Bounty program.\"},{\"lang\":\"es\",\"value\":\"Se identific\u00f3 una vulnerabilidad de comparaci\u00f3n incorrecta en GitHub Enterprise Server que permit\u00eda el contrabando de confirmaciones al mostrar una diferencia incorrecta en una Solicitud de Extracci\u00f3n reabierta. Para hacerlo, un atacante necesitar\u00eda acceso de escritura al repositorio. Esta vulnerabilidad afect\u00f3 a todas las versiones de GitHub Enterprise Server y se solucion\u00f3 en las versiones 3.6.17, 3.7.15, 3.8.8, 3.9.3 y 3.10.1. Esta vulnerabilidad se inform\u00f3 a trav\u00e9s 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:L/PR:H/UI:R/S:U/C:N/I:H/A:N\",\"baseScore\":4.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":0.9,\"impactScore\":3.6},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"product-cna@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-697\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-697\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"3.6.17\",\"matchCriteriaId\":\"4FCC8642-45E8-438F-8DBD-10E656F6452E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.7.0\",\"versionEndExcluding\":\"3.7.15\",\"matchCriteriaId\":\"31D9FC1E-D2E1-481A-8FB7-983443B5DB7D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.8.0\",\"versionEndExcluding\":\"3.8.8\",\"matchCriteriaId\":\"4AB3BAC9-225C-4A0F-A2E6-563169E4ECAC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.9.0\",\"versionEndExcluding\":\"3.9.3\",\"matchCriteriaId\":\"275D1327-46DD-4A6F-B64B-F0622DAB7411\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:github:enterprise_server:3.10.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BBB39318-06F7-4103-812A-C2D16CEDD441\"}]}]}],\"references\":[{\"url\":\"https://docs.github.com/enterprise-server@3.10/admin/release-notes#3.10.1\",\"source\":\"product-cna@github.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.6/admin/release-notes#3.6.17\",\"source\":\"product-cna@github.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.15\",\"source\":\"product-cna@github.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.8/admin/release-notes#3.8.8\",\"source\":\"product-cna@github.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.3\",\"source\":\"product-cna@github.com\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.10/admin/release-notes#3.10.1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.6/admin/release-notes#3.6.17\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.15\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.8/admin/release-notes#3.8.8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\"]},{\"url\":\"https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Release Notes\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://docs.github.com/enterprise-server@3.6/admin/release-notes#3.6.17\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.15\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://docs.github.com/enterprise-server@3.8/admin/release-notes#3.8.8\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.3\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://docs.github.com/enterprise-server@3.10/admin/release-notes#3.10.1\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T10:42:25.887Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-23766\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-24T14:16:47.459010Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-24T14:29:32.369Z\"}}], \"cna\": {\"title\": \"Incorrect comparison vulnerability in GitHub Enterprise Server leading to commit smuggling\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"user\": \"00000000-0000-4000-9000-000000000000\", \"value\": \"inspector-amibitious\"}], \"impacts\": [{\"descriptions\": [{\"lang\": \"en\", \"value\": \"CWE-697\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 4.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"NONE\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"GitHub\", \"product\": \"Enterprise Server\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.6.0\", \"lessThan\": \"3.6.17\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"3.7.0\", \"lessThan\": \"3.7.15\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"3.8.0\", \"lessThan\": \"3.8.8\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"3.9.0\", \"lessThan\": \"3.9.3\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"3.10.0\", \"lessThan\": \"3.10.1\", \"versionType\": \"semver\"}], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://docs.github.com/enterprise-server@3.6/admin/release-notes#3.6.17\"}, {\"url\": \"https://docs.github.com/enterprise-server@3.7/admin/release-notes#3.7.15\"}, {\"url\": \"https://docs.github.com/enterprise-server@3.8/admin/release-notes#3.8.8\"}, {\"url\": \"https://docs.github.com/enterprise-server@3.9/admin/release-notes#3.9.3\"}, {\"url\": \"https://docs.github.com/enterprise-server@3.10/admin/release-notes#3.10.1\"}], \"x_generator\": {\"engine\": \"Vulnogram 0.1.0-dev\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions 3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1. This vulnerability was reported via the GitHub Bug Bounty program.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"An incorrect comparison vulnerability was identified in GitHub Enterprise Server that allowed commit smuggling by displaying an incorrect diff in a re-opened Pull Request. To do so, an attacker would need write access to the repository. This vulnerability affected all versions of GitHub Enterprise Server and was fixed in versions \u003cspan style=\\\"background-color: rgb(255, 255, 255);\\\"\u003e3.6.17, 3.7.15, 3.8.8, 3.9.3, and 3.10.1\u003c/span\u003e. This vulnerability was reported via the GitHub Bug Bounty program.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-697\", \"description\": \"CWE-697 Incorrect Comparison\"}]}], \"providerMetadata\": {\"orgId\": \"82327ea3-741d-41e4-88f8-2cf9e791e760\", \"shortName\": \"GitHub_P\", \"dateUpdated\": \"2023-09-22T14:18:49.735Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2023-23766\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-09-24T14:29:38.315Z\", \"dateReserved\": \"2023-01-17T20:40:37.555Z\", \"assignerOrgId\": \"82327ea3-741d-41e4-88f8-2cf9e791e760\", \"datePublished\": \"2023-09-22T14:18:49.735Z\", \"assignerShortName\": \"GitHub_P\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…