Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/consul/acl
  4. ›
  5. CVE-2022-40716

CVE-2022-40716: Unchecked Return Value

September 23, 2022 (updated November 9, 2023)

HashiCorp Consul and Consul Enterprise up to 1.11.8, 1.12.4, and 1.13.1 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. Fixed in 1.11.9, 1.12.5, and 1.13.2.

References

  • discuss.hashicorp.com/
  • discuss.hashicorp.com/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628
  • nvd.nist.gov/vuln/detail/CVE-2022-40716

Code Behaviors & Features

Detect and mitigate CVE-2022-40716 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.11.9, all versions starting from 1.12.0 before 1.12.5, all versions starting from 1.12.0 before 1.12.5, all versions starting from 1.13.0 before 1.13.2, all versions starting from 1.13.0 before 1.13.2

Fixed versions

  • 1.11.9
  • 1.12.5
  • 1.12.5
  • 1.13.2
  • 1.13.2

Solution

Upgrade to versions 1.11.9, 1.12.5, 1.12.5, 1.13.2, 1.13.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-252: Unchecked Return Value

Source file

go/github.com/hashicorp/consul/acl/CVE-2022-40716.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.