CVE-2021-22869CWE-668

Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group

published September 24, 2021

CVSS
—
EPSS
1%
Percentile
67.8
In the wild
Unconfirmed
What it is

⚠️ An improper access control flaw in GitHub Enterprise Server could let any workflow job run in places it shouldn’t — it’s like a guest sneaking into exclusive club rooms without a bouncer! 🚪 Picture a hotel where every attendee can wander into any room, regardless of their booking. This vulnerability is akin to a guest using their keycard to access a penthouse suite they never reserved, potentially causing chaos and confusion. An attacker could leverage this flaw to execute unintended code in runner groups that shouldn’t have been accessed. Imagine the havoc if the wrong runner group starts executing sensitive or critical jobs, potentially leading to security breaches or corrupted workflows across the organization.

Put simply

Picture a hotel where every attendee can wander into any room, regardless of their booking. This vulnerability is akin to a guest using their keycard to access a penthouse suite they never reserved, potentially causing chaos and confusion. This access control vulnerability allows a workflow job in GitHub Enterprise Server to execute within a self-hosted runner group without proper authentication checks, enabling wider access than intended for users or jobs.

What to do

An attacker could leverage this flaw to execute unintended code in runner groups that shouldn’t have been accessed. Imagine the havoc if the wrong runner group starts executing sensitive or critical jobs, potentially leading to security breaches or corrupted workflows across the organization. To secure your setup, upgrade GitHub Enterprise Server to versions 3.0.16 or 3.1.8 to patch this vulnerability. Additionally, reevaluate your access control settings for self-hosted runner groups to ensure they are appropriately restrictive. You've got this! With these steps, you'll have your system fortified and running smoothly in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01195 · 67.8th percentile
Weakness
CWE-668 · Exposure of Resource to Wrong Sphere
Published
2021-09-24T17:50Z
EPSS history
Timeline
  • 24 SEP 17:50Z
    Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group
    cvelistv5