CVE-2023-38976: Github.com/weaviate/weaviate Denial of Service Vulnerability
HIGHCVE-2023-38976 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-704: Incorrect Type Conversion or Cast) affecting Github.com/weaviate/weaviate libraries in the Go ecosystem. The issue involves weaviate denial of service vulnerability. Remediation is available by upgrading affected packages to version 1.20.6, 1.19.13, 1.18.6.
CVE-2023-38976 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-38976
To remediate this vulnerability, upgrade all affected Github.com/weaviate/weaviate 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 github.com/weaviate/weaviate to 1.20.6
Upgrade github.com/weaviate/weaviate to 1.19.13
Upgrade github.com/weaviate/weaviate to 1.18.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/weaviate/weaviate
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-38976, inspect your project dependencies for Github.com/weaviate/weaviate:
inspect dependencies for github.com/weaviate/weaviate
Analyze the terminal output to locate any version of Github.com/weaviate/weaviate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.20.6), 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-704: Incorrect Type Conversion or Cast, where the product does not correctly convert an object, resource, or structure from one type to a different type. In Github.com/weaviate/weaviate, 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-38976 Affected Github.com/weaviate/weaviate Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/weaviate/weaviate
|
Go |
≥ 1.20.0
< 1.20.6
|
1.20.6
|
|
github.com/weaviate/weaviate
|
Go |
≥ 1.19.0
< 1.19.13
|
1.19.13
|
|
github.com/weaviate/weaviate
|
Go |
< 1.18.6
|
1.18.6
|
References
Frequently Asked Questions
What is CVE-2023-38976?
Which Github.com/weaviate/weaviate versions are affected?
What version fixes CVE-2023-38976?
Is github.com/weaviate/weaviate affected?
What is the CVSS score of CVE-2023-38976?
What CWE is associated with CVE-2023-38976?
How can I check Go dependencies for CVE-2023-38976?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8697-479h-5mfp",
"modified" : "2023-08-24T21:49:43Z",
"published" : "2023-08-22T18:03:13Z",
"aliases" : [ "CVE-2023-38976" ],
"summary" : "Weaviate denial of service vulnerability",
"details" : "### Impact\nThis vulnerability is a type conversion issue that affects users of Weaviate Server versions 1.20.0 and earlier.\nWho is impacted: Users of Weaviate Server versions 1.20.0 and earlier are impacted by this vulnerability.\n\n### Patches\nA patch has been developed for this vulnerability.\nPatch releases 1.20.6, 1.19.13, and 1.18.6 are fixing this vulnerability in each respective minor version release.\nUsers are strongly recommended to upgrade to one of these patched versions to address the vulnerability.\nKeeping software up-to-date is crucial to avoid security vulnerabilities.\n\n### Workarounds\nThere are no known workarounds to fix or remediate this vulnerability without upgrading.\nUsers must upgrade to a patched version to mitigate the risk.\n\n### References \n* https://github.com/weaviate/weaviate/releases/tag/v1.18.6\n* https://github.com/weaviate/weaviate/releases/tag/v1.19.13\n* https://github.com/weaviate/weaviate/releases/tag/v1.20.6\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/weaviate/weaviate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.20.0"
}, {
"fixed" : "1.20.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/weaviate/weaviate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.19.0"
}, {
"fixed" : "1.19.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/weaviate/weaviate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.18.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/weaviate/weaviate/security/advisories/GHSA-8697-479h-5mfp"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-38976"
}, {
"type" : "WEB",
"url" : "https://github.com/weaviate/weaviate/issues/3258"
}, {
"type" : "WEB",
"url" : "https://github.com/weaviate/weaviate/pull/3431"
}, {
"type" : "WEB",
"url" : "https://github.com/weaviate/weaviate/commit/2a7b208d9aca07e28969e3be82689c184ccf9118"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/weaviate/weaviate"
}, {
"type" : "WEB",
"url" : "https://github.com/weaviate/weaviate/releases/tag/v1.18.6"
}, {
"type" : "WEB",
"url" : "https://github.com/weaviate/weaviate/releases/tag/v1.19.13"
}, {
"type" : "WEB",
"url" : "https://github.com/weaviate/weaviate/releases/tag/v1.20.6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-704" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-22T18:03:13Z",
"nvd_published_at" : null
}
}