Vulnerabilities in pkg:golang/github.com/megaease/easeprobe
PACKAGECVE-2023-33967 is a HIGH (CVSS 8.2) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Github.com/megaease/easeprobe libraries in the Go ecosystem. The issue involves sql injection when using mysql/postgresql data checking. Remediation is available by upgrading affected packages to version 2.1.0.
pkg:golang/github.com/megaease/easeprobe
Vulnerability advisories affecting package pkg:golang/github.com/megaease/easeprobe. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4c32-w6c7-77x4 | CVE-2023-33967 | HIGH | SQL injection when using MySQL/PostgreSQL data checking |
CVE-2023-33967 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2023-33967
To remediate this vulnerability, upgrade all affected Github.com/megaease/easeprobe 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/megaease/easeprobe to 2.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/megaease/easeprobe
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-33967, inspect your project dependencies for Github.com/megaease/easeprobe:
inspect dependencies for github.com/megaease/easeprobe
Analyze the terminal output to locate any version of Github.com/megaease/easeprobe in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Github.com/megaease/easeprobe, 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-33967 Affected Github.com/megaease/easeprobe Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/megaease/easeprobe
|
Go |
< 2.1.0
|
2.1.0
|
References
Frequently Asked Questions
What is CVE-2023-33967?
Which Github.com/megaease/easeprobe versions are affected?
What version fixes CVE-2023-33967?
Is github.com/megaease/easeprobe affected?
What is the CVSS score of CVE-2023-33967?
What CWE is associated with CVE-2023-33967?
How can I check Go dependencies for CVE-2023-33967?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4c32-w6c7-77x4",
"modified" : "2023-06-06T01:38:49Z",
"published" : "2023-06-06T01:38:49Z",
"aliases" : [ "CVE-2023-33967" ],
"summary" : "SQL injection when using MySQL/PostgreSQL data checking",
"details" : "An SQL injection issue was discovered in EaseProbe before 2.1.0 when using MySQL/PostgreSQL data checking. This problem has been fixed in v2.1.0; users should upgrade to this version.\n\nThe vulnerability was discovered by the [Oxeye research](https://www.oxeye.io/) team.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/megaease/easeprobe"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/megaease/easeprobe/security/advisories/GHSA-4c32-w6c7-77x4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-33967"
}, {
"type" : "WEB",
"url" : "https://github.com/megaease/easeprobe/pull/330"
}, {
"type" : "WEB",
"url" : "https://github.com/megaease/easeprobe/commit/caaf5860df2aaa76acd29bc40ec9a578d0b1d6e1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/megaease/easeprobe"
}, {
"type" : "WEB",
"url" : "https://github.com/megaease/easeprobe/releases/tag/v2.1.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-06T01:38:49Z",
"nvd_published_at" : "2023-05-31T18:15:09Z"
}
}