CVE-2023-5332 json
Dependency on Vulnerable Third-Party Component in GitLab
published 2023-12-04 2 y ago modified 2026-09-08 2 mo ago also BIT-consul-2023-5332 , BIT-gitlab-2023-5332 , EUVD-2023-57649
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami consul 0.9.4, 1.0.8, 1.1.1, 1.2.4
- bitnami gitlab 16.2.8, 16.3.5, 16.4.1
- GitLab GitLab 16.2.8, 16.3.5, 16.4.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-5332 updated cvss 8.1
consul: Command injection through script checks option
-
Red Hat Custom Metric Autoscaler operator for Red Hat Openshift custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8 Red Hat mirror registry for Red Hat OpenShift mirror-registry-container Red Hat OpenShift Service Mesh 2 consul, openshift-service-mesh/prometheus-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/volsync-mover-restic-rhel8affected: workaround, no fix available
-
Red Hat OpenShift Container Platform 4 openshift4/ose-ptp-operator, openshift-selinuxd-container, openshift4/ose-console-operatoraffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operatoraffected: workaround, no fix available
-
Red Hat Openshift Data Foundation 4 odf4/odf-multicluster-rhel9-operatoraffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Data Science (RHODS) rhods/odh-kf-notebook-controller-rhel8, rhods/odh-ml-pipelines-api-server-rhel8, rhods/odh-ml-pipelines-artifact-manager-rhel8, rhods/odh-data-science-pipelines-operator-controller-rhel8 Red Hat OpenShift Dev Spaces devspaces/traefik-rhel8affected: workaround, no fix available
-
Red Hat Openshift Sandboxed Containers openshift-sandboxed-containers/osc-rhel8-operator, openshift-sandboxed-containers/osc-must-gather-rhel8affected: workaround, no fix planned “Will not fix”
-
Red Hat Quay 3 quay/quay-rhel8, quay/quay-openshift-bridge-rhel8-operatoraffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Custom Metric Autoscaler operator for Red Hat Openshift custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel8, custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8-operator Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel9, openshift-logging/loki-rhel8-operator Red Hat OpenShift API for Data Protection oadp/oadp-velero-rhel8, oadp/oadp-rhel8-operator, oadp/oadp-mustgather-rhel8, oadp/oadp-velero-plugin-rhel8, oadp/oadp-velero-plugin-for-aws-rhel8, oadp/oadp-velero-plugin-for-csi-rhel8, +4 more Red Hat OpenShift Serverless openshift-serverless-1-cli openshift-serverless-1-cli, openshift-serverless-1-serving openshift-serverless-1-serving, openshift-serverless-1-eventing openshift-serverless-1-eventing Red Hat Advanced Cluster Management for Kubernetes 2 consul, rhacm2/thanos-rhel7, rhacm2/prometheus-rhel9 Red Hat OpenShift Container Platform 4 openshift4/ose-ptp, openshift4/ose-thanos-rhel9, openshift4/ose-contour-rhel8, openshift4/ose-prom-label-proxy, openshift4/ose-prometheus-rhel9, openshift4/ptp-must-gather-rhel8, +9 morenot affected: vulnerable code not present
+5 more productsfewer
Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/ocs-must-gather-rhel8 Red Hat Openshift Data Foundation 4 odf4/mcg-rhel9-operator, odf4/ocs-rhel9-operator, odf4/odr-rhel9-operator, noobaa-operator-container, odf4/ocs-must-gather-rhel8, odf4/rook-ceph-rhel9-operator, +1 more Red Hat OpenShift Data Science (RHODS) rhods/odh-mm-rest-proxy-rhel8, rhods/odh-model-controller-rhel8, rhods/odh-ml-pipelines-cache-rhel8, rhods/odh-notebook-controller-rhel8, rhods/odh-modelmesh-serving-controller-rhel8, rhods/odh-ml-pipelines-persistenceagent-rhel8, +2 more Red Hat OpenShift Dev Spaces devspaces/devspaces-rhel8-operator Red Hat OpenStack Platform 16.2 osp-director-provisioner-container
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.87% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gitlab.com https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8171 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | consul | <0.9.4 >=1.0.0, <1.0.8 >=1.1.0, <1.1.1 >=1.2.0, <1.2.4 |
0.9.4 1.0.8 1.1.1 1.2.4 |
| bitnami | gitlab | >=9.5.0, <16.2.8 >=16.3.0, <16.3.5 >=16.4.0, <16.4.1 |
16.2.8 16.3.5 16.4.1 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-1395 Dependency on Vulnerable Third-Party Component
- Technology feeds
References
-
hashicorp.com
/blog/protecting-consul-from-rce-risk-in-specific-configurations
patch, vendor-advisory, advisory
-
gitlab.com
/gitlab-org/omnibus-gitlab/-/issues/8171
issue-tracking, exploit, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2023-5332
web
Sources
- CVE List CVE-2023-5332
- NVD CVE-2023-5332
- OSV BIT-consul-2023-5332
- OSV BIT-gitlab-2023-5332
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.