Security 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 50th percentile
Risk Priority 51 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

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

Operationally, ranked in the top 50% of CVEs by exploit likelihood; 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

CVEs Like This One

CVE-2023-0223Same product: Gitlab Gitlab
CVE-2023-4379Same product: Gitlab Gitlab
CVE-2023-1210Same product: Gitlab Gitlab
CVE-2025-1250Same product: Gitlab Gitlab
CVE-2025-0290Same product: Gitlab Gitlab
CVE-2025-0605Same product: Gitlab Gitlab
CVE-2025-7337Same product: Gitlab Gitlab
CVE-2025-6601Same product: Gitlab Gitlab
CVE-2026-1659Same product: Gitlab Gitlab
CVE-2026-9694Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
17.2.0 — 17.2.5 · 17.3.0 — 17.3.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

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 (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

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

finds

Security testing can discover unprotected alternate paths before release.

blocks

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

blocks

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

prevents

Secure coding practices reduce the likelihood of unprotected alternate paths in source code.

blocks

A.8.3's access restriction mechanism blocks exploitation via the paths it covers (the main, intended paths), but CWE-424 is specifically about alternate paths that bypass the access control — those paths are outside A.8.3's enforcement, so the control does not block the exploitation that constitutes the weakness itself.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-424, a class-level weakness, and none of its children carries one either.

References