CVE-2023-22381
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. Limited direct impact.
- Exploit odds
- 0.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.8% in the next 30 days (EPSS).
- Severity: 4.1 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.8% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
Affected
- GitHub Enterprise Server < 3.4.15
- GitHub Enterprise Server < 3.5.12
- GitHub Enterprise Server < 3.6.8
- GitHub Enterprise Server < 3.7.5
Attack profile CVSS 3.1 · 4.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Raw vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-22381.md and follow it. Check whether this project is affected by CVE-2023-22381. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.4.15
- https://docs.github.com/en/[email protected]/admin/release-notes#3.5.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.6.8
- https://docs.github.com/en/[email protected]/admin/release-notes#3.7.5
- https://docs.github.com/en/[email protected]/admin/release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.4.15
- https://docs.github.com/en/[email protected]/admin/release-notes#3.5.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.6.8
- https://docs.github.com/en/[email protected]/admin/release-notes#3.7.5
- https://docs.github.com/en/[email protected]/admin/release-notes