Vulnerabilities in pkg:golang/github.com/grafana/google-sheets-datasource
PACKAGECVE-2023-4457 is a MODERATE (CVSS 5.5) remote code execution vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Github.com/grafana/google sheets datasource libraries in the Go ecosystem. The issue involves google sheets data source plugin for grafana information disclosure vulnerability. Remediation is available by upgrading affected packages to version 1.2.2.
pkg:golang/github.com/grafana/google-sheets-datasource
Vulnerability advisories affecting package pkg:golang/github.com/grafana/google-sheets-datasource. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-37x5-qpm8-53rq | CVE-2023-4457 | MODERATE | Google Sheets data source plugin for Grafana information disclosure vulnerability |
CVE-2023-4457 at a Glance
Security Impact
CVSS: 5.5
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:L/I:L/A:N).
How to Fix CVE-2023-4457
To remediate this vulnerability, upgrade all affected Github.com/grafana/google sheets datasource 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/grafana/google-sheets-datasource to 1.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/grafana/google-sheets-datasource
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-4457, inspect your project dependencies for Github.com/grafana/google sheets datasource:
inspect dependencies for github.com/grafana/google-sheets-datasource
Analyze the terminal output to locate any version of Github.com/grafana/google sheets datasource in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.2), 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-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Github.com/grafana/google sheets datasource, 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-4457 Affected Github.com/grafana/google sheets datasource Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/grafana/google-sheets-datasource
|
Go |
≥ 0.9.0
< 1.2.2
|
1.2.2
|
References
Frequently Asked Questions
What is CVE-2023-4457?
Which Github.com/grafana/google sheets datasource versions are affected?
What version fixes CVE-2023-4457?
Is github.com/grafana/google-sheets-datasource affected?
What is the CVSS score of CVE-2023-4457?
What CWE is associated with CVE-2023-4457?
How can I check Go dependencies for CVE-2023-4457?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-37x5-qpm8-53rq",
"modified" : "2024-05-20T21:57:06Z",
"published" : "2023-10-16T12:33:36Z",
"aliases" : [ "CVE-2023-4457" ],
"summary" : "Google Sheets data source plugin for Grafana information disclosure vulnerability",
"details" : "Grafana is an open-source platform for monitoring and observability.\n\nThe Google Sheets data source plugin for Grafana, versions 0.9.0 to 1.2.2 are vulnerable to an information disclosure vulnerability.\n\nThe plugin did not properly sanitize error messages, making it potentially expose the Google Sheet API-key that is configured for the data source.\n\nThis vulnerability was fixed in version 1.2.2.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/grafana/google-sheets-datasource"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.9.0"
}, {
"fixed" : "1.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4457"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grafana/google-sheets-datasource"
}, {
"type" : "WEB",
"url" : "https://grafana.com/security/security-advisories/cve-2023-4457"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-209" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-20T23:27:36Z",
"nvd_published_at" : "2023-10-16T10:15:12Z"
}
}