Cyber Resilience

CVE-2024-8311

Gitlab 17.2.0 – 17.2.5

Published
12 September 2024
Modified
21 November 2024
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0061 46th percentile
Risk Priority 51 floored blend · peak EPSS

Summary

CVE-2024-8311 is a medium-severity Improper Protection of Alternate Path (CWE-424) vulnerability in Gitlab Gitlab. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 46th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An issue was discovered with pipeline execution policies in GitLab EE affecting all versions from 17.2 prior to 17.2.5, 17.3 prior to 17.3.2 which allows authenticated users to bypass variable overwrite protection via inclusion of a CI/CD template.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1083 File and Directory Discovery Discovery
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-0861Same product: Gitlab Gitlab
CVE-2024-0456Same product: Gitlab Gitlab
CVE-2023-4018Same product: Gitlab Gitlab
CVE-2025-6195Same product: Gitlab Gitlab
CVE-2026-5816Same product: Gitlab Gitlab
CVE-2024-8977Same product: Gitlab Gitlab
CVE-2026-7471Same product: Gitlab Gitlab
CVE-2025-12073Same product: Gitlab Gitlab
CVE-2018-14364Same product: Gitlab Gitlab
CVE-2021-39935Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
17.2.0 — 17.2.5 · 17.3.0 — 17.3.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 6 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Requiring access-control decisions to be applied to each request ensures no alternate path can bypass authorization checks.

A reference monitor that is always invoked by definition covers every possible path, eliminating the root cause of unprotected alternate paths.

Enforcing approved authorizations for every logical access request structurally blocks unprotected alternate paths to restricted resources.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 mostly match
prevents

Enforcing and reviewing authorizations across all access paths directly prevents alternate-path bypasses.

PR.IR-01 partial match
prevents

Logical segmentation and unauthorized-access protections reduce the attack surface of unprotected alternate paths.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Privileged access rights must be enforced on every possible route to privileged functions.

finds

Security testing can discover unprotected alternate paths before release.

prevents

Information access restriction mechanisms must close all alternate paths to restricted data or functions.

prevents

Access control policy directly requires protection of all entry points to restricted functionality.

prevents

Managing access rights must cover every alternate path that could bypass intended restrictions.

mitigates

Network security can limit some alternate paths but is not the primary control for application-level path protection.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 9 (1 rule)
  • V-271452 OL 9 must use a Linux Security Module configured to enforce limits on system services. prevents CWE-424
RHEL 9 (1 rule)
  • V-258078 RHEL 9 must use a Linux Security Module configured to enforce limits on system services. prevents CWE-424
Ubuntu 22.04 (1 rule)
  • V-260529 Ubuntu 22.04 LTS must be configured so that remote X connections are disabled, unless to fulfill documented and validated mission requirements. prevents CWE-424
Ubuntu 24.04 (1 rule)
  • V-270708 Ubuntu 24.04 LTS must be configured so that remote X connections are disabled, unless to fulfill documented and validated mission requirements. prevents CWE-424

References