gsd-2023-22381
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-22381", "id": "GSD-2023-22381" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-22381" ], "details": "A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program.", "id": "GSD-2023-22381", "modified": "2023-12-13T01:20:42.743070Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "product-cna@github.com", "ID": "CVE-2023-22381", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "Enterprise Server", "version": { "version_data": [ { "version_value": "not down converted", "x_cve_json_5_version_data": { "defaultStatus": "affected", "versions": [ { "changes": [ { "at": "3.4.15", "status": "unaffected" } ], "lessThanOrEqual": "3.4.14", "status": "affected", "version": "3.4.0", "versionType": "semver" }, { "changes": [ { "at": "3.5.12", "status": "unaffected" } ], "lessThanOrEqual": "3.5.11", "status": "affected", "version": "3.5.0", "versionType": "semver" }, { "changes": [ { "at": "3.6.8", "status": "unaffected" } ], "lessThanOrEqual": "3.6.7", "status": "affected", "version": "3.6.0", "versionType": "semver" }, { "changes": [ { "at": "3.7.5", "status": "unaffected" } ], "lessThanOrEqual": "3.7.4", "status": "affected", "version": "3.7.0", "versionType": "semver" }, { "status": "unaffected", "version": "3.8.0" } ] } } ] } } ] }, "vendor_name": "GitHub" } ] } }, "credits": [ { "lang": "en", "value": "RyotaK" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program." } ] }, "generator": { "engine": "Vulnogram 0.1.0-dev" }, "impact": { "cvss": [ { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 4.1, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L", "version": "3.1" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-94", "lang": "eng", "value": "CWE-94 Improper Control of Generation of Code (\u0027Code Injection\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5", "refsource": "MISC", "url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5" }, { "name": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8", "refsource": "MISC", "url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8" }, { "name": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12", "refsource": "MISC", "url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12" }, { "name": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15", "refsource": "MISC", "url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15" }, { "name": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes", "refsource": "MISC", "url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes" } ] }, "source": { "discovery": "EXTERNAL" } }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.7.5", "versionStartIncluding": "3.7.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.6.8", "versionStartIncluding": "3.6.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.5.12", "versionStartIncluding": "3.5.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.4.15", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "product-cna@github.com", "ID": "CVE-2023-22381" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-94" } ] } ] }, "references": { "reference_data": [ { "name": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes", "refsource": "MISC", "tags": [ "Release Notes" ], "url": "https://docs.github.com/en/enterprise-server@3.8/admin/release-notes" }, { "name": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15", "refsource": "MISC", "tags": [ "Release Notes" ], "url": "https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.15" }, { "name": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5", "refsource": "MISC", "tags": [ "Release Notes" ], "url": "https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.5" }, { "name": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8", "refsource": "MISC", "tags": [ "Release Notes" ], "url": "https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.8" }, { "name": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12", "refsource": "MISC", "tags": [ "Release Notes" ], "url": "https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.12" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 2.8, "impactScore": 5.9 } }, "lastModifiedDate": "2023-03-10T20:54Z", "publishedDate": "2023-03-02T21:15Z" } } }
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.