CVE-2023-29194: Vitess.io/vitess Vitess Allows Users To Create Vulnerability
MODERATECVE-2023-29194 is a MODERATE (CVSS 4.1) vitess allows users to create vulnerability (CWE-703: Improper Check or Handling of Exceptional Conditions) affecting Vitess.io/vitess libraries in the Go ecosystem. The issue involves vitess allows users to create keyspaces that can deny access to already existing keyspaces. Remediation is available by upgrading affected packages to version 0.16.1.
CVE-2023-29194 at a Glance
Security Impact
CVSS: 4.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L).
How to Fix CVE-2023-29194
To remediate this vulnerability, upgrade all affected Vitess.io/vitess dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade vitess.io/vitess to 0.16.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for vitess.io/vitess
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-29194, inspect your project dependencies for Vitess.io/vitess:
inspect dependencies for vitess.io/vitess
Analyze the terminal output to locate any version of Vitess.io/vitess in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.16.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-703: Improper Check or Handling of Exceptional Conditions, where the product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product. In Vitess.io/vitess, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-29194 Affected Vitess.io/vitess Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vitess.io/vitess
|
Go |
< 0.16.1
|
0.16.1
|
References
Frequently Asked Questions
What is CVE-2023-29194?
Which Vitess.io/vitess versions are affected?
What version fixes CVE-2023-29194?
Is vitess.io/vitess affected?
What is the CVSS score of CVE-2023-29194?
What CWE is associated with CVE-2023-29194?
How can I check Go dependencies for CVE-2023-29194?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-735r-hv67-g38f",
"modified" : "2024-05-20T21:51:28Z",
"published" : "2023-04-11T21:12:42Z",
"aliases" : [ "CVE-2023-29194" ],
"summary" : "vitess allows users to create keyspaces that can deny access to already existing keyspaces",
"details" : "### Impact\nUsers can either intentionally or inadvertently create a keyspace containing `/` characters such that from that point on, anyone who tries to view keyspaces from VTAdmin will receive an error. Trying to list all the keyspaces using `vtctldclient GetKeyspaces` will also return an error.\nNote that all other keyspaces can still be administered using the CLI (vtctldclient).\n\n### Patches\nv16.0.1 (corresponding to 0.16.1 on pkg.go.dev)\n\n### Workarounds\nDelete the offending keyspace using a CLI client (vtctldclient) \n```\nvtctldclient --server ... DeleteKeyspace a/b\n```\n\nFound during a security audit sponsored by the [CNCF](https://cncf.io) and facilitated by [OSTIF](https://ostif.org).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "vitess.io/vitess"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.16.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vitessio/vitess/security/advisories/GHSA-735r-hv67-g38f"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-29194"
}, {
"type" : "WEB",
"url" : "https://github.com/vitessio/vitess/commit/adf10196760ad0b3991a7aa7a8580a544e6ddf88"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vitessio/vitess"
}, {
"type" : "WEB",
"url" : "https://github.com/vitessio/vitess/commits/v0.16.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-703" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-11T21:12:42Z",
"nvd_published_at" : "2023-04-14T19:15:00Z"
}
}