CVE-2023-5332: Patch in third party library Consul requires 'enable-script-checks' to be set to False.
High CVSS 8.1
- CVE id
- CVE-2023-5332
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Consul Runtimes and servers |
< 0.9.4 >= 1.0.0, < 1.0.8 >= 1.2.0, < 1.2.4 |
0.9.4, 1.0.8, 1.2.4 |
| Consul Enterprise Runtimes and servers |
< 0.9.4 >= 1.0.0, < 1.0.8 >= 1.2.0, < 1.2.4 |
0.9.4, 1.0.8, 1.2.4 |
| GitLab EE Runtimes and servers |
>= 9.5.0, < 16.2.8 >= 16.3.0, < 16.3.5 |
16.2.8, 16.3.5 |
How to fix it
Consul (Runtimes and servers)
Upgrade Consul to the fixed release of the line you run: 0.9.4, 1.0.8, 1.2.4.
consul version
- Upgrade Consul (the hashicorp/consul image or binary) to the patched release.
Consul Enterprise (Runtimes and servers)
Upgrade Consul Enterprise to the fixed release of the line you run: 0.9.4, 1.0.8, 1.2.4.
consul version
- Upgrade Consul Enterprise (the hashicorp/consul-enterprise image or binary) to the patched release.
GitLab EE (Runtimes and servers)
Upgrade GitLab EE to the fixed release of the line you run: 16.2.8, 16.3.5.
gitlab-rake gitlab:env:info
- Upgrade your self-managed GitLab EE (the gitlab/gitlab-ee image tag or the gitlab-ee package) to the patched release of your series.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2023-5332 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-5332
- Web: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8171
- Web: https://www.hashicorp.com/blog/protecting-consul-from-rce-risk-in-specific-configurations
- Web: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8171
- Web: https://www.hashicorp.com/blog/protecting-consul-from-rce-risk-in-specific-configurations
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.