CVE-2022-46255CWE-22

Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE

Critical · published December 14, 2022

CVSS v3.1
9.8
EPSS
2%
Percentile
75.1
In the wild
Unconfirmed
What it is

🚨 An improper pathname limitation in GitHub Enterprise Server lets attackers execute arbitrary code remotely — a sneaky backdoor for mischief! 🔥 Picture a hotel with a guestbook that fails to verify who’s checking in. Anyone could waltz in under a false name and access any room — that’s the kind of vulnerability we’re talking about here! An attacker could exploit this vulnerability to run malicious code on your server, potentially leading to data breaches, service disruptions, or even a complete takeover of affected systems. It’s like handing over the keys to your entire hotel! This critical flaw is absolutely devastating if left unaddressed.

Put simply

Picture a hotel with a guestbook that fails to verify who’s checking in. Anyone could waltz in under a false name and access any room — that’s the kind of vulnerability we’re talking about here! This vulnerability in GitHub Enterprise Server version 3.7.0 allows remote code execution due to an improper restriction of the working directory during content unpacking. The issue was fixed in version 3.7.1, which introduced necessary checks to prevent arbitrary file overwrites.

What to do

An attacker could exploit this vulnerability to run malicious code on your server, potentially leading to data breaches, service disruptions, or even a complete takeover of affected systems. It’s like handing over the keys to your entire hotel! This critical flaw is absolutely devastating if left unaddressed. Upgrade your GitHub Enterprise Server to version 3.7.1 immediately to close this loophole. Regularly review your server configurations and implement security best practices to ensure similar vulnerabilities are caught early. Don't let this sneak past your defenses! You've got this! With a quick update, your server will be locked down tighter than a drum! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01565 · 75.1th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2022-12-14T00:00Z
EPSS history
Timeline
  • 14 DEC 00:00Z
    Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE
    cvelistv5