Vulnerabilities in pkg:golang/github.com/go-mysql-org/go-mysql
PACKAGEGHSA-rc7v-65v6-m2v3 is a CRITICAL (CVSS 9.8) go-mysql affected by go.uuid's predictable vulnerability (CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)) affecting Withdrawn Advisory libraries in the Go ecosystem. The issue involves go-mysql affected by go.uuid's predictable uuid identifiers. Remediation is available by upgrading affected packages to version 1.5.0.
pkg:golang/github.com/go-mysql-org/go-mysql
Vulnerability advisories affecting package pkg:golang/github.com/go-mysql-org/go-mysql. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rc7v-65v6-m2v3 | - | CRITICAL | Withdrawn Advisory: go-mysql affected by go.uuid's Predictable UUID Identifiers |
GHSA-rc7v-65v6-m2v3 at a Glance
Security Impact
CVSS: 9.8
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:H/I:H/A:H).
How to Fix GHSA-rc7v-65v6-m2v3
To remediate this vulnerability, upgrade all affected Withdrawn Advisory 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/go-mysql-org/go-mysql to 1.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/go-mysql-org/go-mysql
How to Check if You Are Affected
To determine whether your application is affected by GHSA-rc7v-65v6-m2v3, inspect your project dependencies for Withdrawn Advisory:
inspect dependencies for github.com/go-mysql-org/go-mysql
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), 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-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG), where the product uses a pseudo-random number generator (prng) in a security context, but the prng's algorithm is not cryptographically strong. In Withdrawn Advisory, 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
GHSA-rc7v-65v6-m2v3 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/go-mysql-org/go-mysql
|
Go |
< 1.5.0
|
1.5.0
|
References
Frequently Asked Questions
What is GHSA-rc7v-65v6-m2v3?
Which Withdrawn Advisory versions are affected?
What version fixes GHSA-rc7v-65v6-m2v3?
Is github.com/go-mysql-org/go-mysql affected?
What is the CVSS score of GHSA-rc7v-65v6-m2v3?
What CWE is associated with GHSA-rc7v-65v6-m2v3?
How can I check Go dependencies for GHSA-rc7v-65v6-m2v3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rc7v-65v6-m2v3",
"modified" : "2024-11-08T17:25:16Z",
"published" : "2024-10-28T15:12:22Z",
"withdrawn" : "2024-11-08T17:25:16Z",
"aliases" : [ ],
"summary" : "Withdrawn Advisory: go-mysql affected by go.uuid's Predictable UUID Identifiers",
"details" : "## Withdrawn Advisory\n\nThis advisory has been withdrawn because the vulnerability does not affect a released version of the `github.com/go-mysql-org/go-mysql` package. For more information, see https://github.com/github/advisory-database/pull/4990.\n\n## Original Advisory\n\nAffected by CVE-2021-3538",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/go-mysql-org/go-mysql"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/apptainer/sif/security/advisories/GHSA-33m6-q9v5-62r7"
}, {
"type" : "WEB",
"url" : "https://github.com/go-mysql-org/go-mysql/security/advisories/GHSA-rc7v-65v6-m2v3"
}, {
"type" : "WEB",
"url" : "https://github.com/hpcng/sif/security/advisories/GHSA-33m6-q9v5-62r7"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/pull/4990"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/go-mysql-org/go-mysql"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-338" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-28T15:12:22Z",
"nvd_published_at" : null
}
}