Cloudanix VulnDB

CVE-2022-6083

None

CVSS

—

EPSS

—

Published

Aug 18, 2022

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in code that handles game modification packages could let an attacker take over affected systems, so organizations should install the available update.

Exploitation
Requires User Interaction
Attacker needs
Local User
Complexity
Moderate
Impact
Privilege Gain
Component
Application
Class
Buffer Overflow
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

A buffer overflow in the freeciv modpack installer allows memory writes beyond allocated buffers during processing of crafted input, enabling memory corruption that can lead to crashes or arbitrary code execution.

Why it matters to the business

Unpatched systems risk remote compromise that could expose source code, user data, or CI/CD pipelines in GitLab environments; the four-year-old issue carries low current urgency but still requires remediation to eliminate latent exposure.

How an attack unfolds

An attacker supplies a maliciously crafted modpack archive to the installer component; the oversized or malformed data overflows a stack or heap buffer, allowing control of the instruction pointer and execution of attacker-supplied code.

How to fix it

Upgrade gitlab-org/gitlab to the revision containing commit d7f0ac7432bb9ab3f10b7025dc5f9d5b3fe8c76e; verify the commit hash is present after deployment.

How to confirm the fix worked

Confirm the fixed commit appears in the running GitLab source tree or release notes; test the modpack installer with known-bad input to ensure it no longer crashes or executes unexpected code.

Typical attack path

  1. Locate a GitLab instance containing the vulnerable freeciv modpack installer code
  2. Upload or cause the target to fetch a specially crafted modpack file
  3. Trigger installer processing of the malicious archive
  4. Achieve memory corruption and execute arbitrary commands or payloads

How to detect it

Search application and system logs for abnormal crashes or errors during modpack processing; look for unexpected child processes or network connections originating from the installer binary after modpack handling.

What your security team should do

  • Apply the commit-containing update to all GitLab instances within the next maintenance window
  • Add the modpack installer component to the vulnerability scanning and patch-management inventory
  • Review access controls around any automated modpack ingestion features

The record

[freeciv modpack installer buffer overflow]

Affected packages

Ecosystem Package Introduced Fixed
SUSE:Package Hub 15 SP3 freeciv 0 3.0.3-bp153.2.3.1
SUSE:Package Hub 15 SP4 freeciv 0 3.0.3-bp154.2.3.1
Ubuntu:16.04:LTS freeciv 0 No fix
Ubuntu:18.04:LTS freeciv 0 No fix
Ubuntu:20.04:LTS freeciv 0 No fix
Ubuntu:22.04:LTS freeciv 0 No fix
Ubuntu:24.04:LTS freeciv 0 No fix
Ubuntu:24.10 freeciv 0 No fix
Ubuntu:25.04 freeciv 0 No fix
Ubuntu:25.10 freeciv 0 No fix
Ubuntu:Pro:16.04:LTS freeciv 0 No fix
Ubuntu:Pro:18.04:LTS freeciv 0 No fix
Ubuntu:Pro:20.04:LTS freeciv 0 No fix
openSUSE:Leap 15.3 freeciv 0 3.0.3-bp153.2.3.1
openSUSE:Leap 15.4 freeciv 0 3.0.3-bp154.2.3.1
openSUSE:Tumbleweed freeciv 0 3.0.3-1.1

Related vulnerabilities