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

- Severity: Medium 5.9 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-04T06:30:33.856Z
- Modified: 2026-09-08T08:47:43.181Z
- Also known as: BIT-CONSUL-2023-5332, BIT-GITLAB-2023-5332
- Weaknesses: CWE-1395
- Assigned by: GitLab

## 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.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 9.5.0 before 16.2.8; from 16.3.0 before 16.3.5; from 16.4 before 16.4.1; 16.4.0
- hashicorp consul: before 0.9.4; from 1.0.0 before 1.0.8; from 1.2.0 before 1.2.4; 1.1.0
- consul (Bitnami): before 0.9.4; from 1.0.0 before 1.0.8; from 1.1.0 before 1.1.1; from 1.2.0 before 1.2.4
- gitlab (Bitnami): from 9.5.0 before 16.2.8; from 16.3.0 before 16.3.5; from 16.4.0 before 16.4.1

## Every score

- GitLab: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8171> (exploit, evidence, issue-tracking)
- <https://www.hashicorp.com/blog/protecting-consul-from-rce-risk-in-specific-configurations> (advisory, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5332> (web)

## Sources

- CVE List: [CVE-2023-5332](https://www.cve.org/CVERecord?id=CVE-2023-5332), CVE Terms of Use, modified 2024-10-03
- NVD: [CVE-2023-5332](https://nvd.nist.gov/vuln/detail/CVE-2023-5332), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CONSUL-2023-5332](https://osv.dev/vulnerability/BIT-CONSUL-2023-5332), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-GITLAB-2023-5332](https://osv.dev/vulnerability/BIT-GITLAB-2023-5332), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-5332 · Whole record: https://cve.day/CVE-2023-5332.json · Rebuilt by cve.day 2026-11-25T22:58:30.912Z
