CVE-2020-29244: Github.com/dhowden/tag Dhowden Tag Panic Due To Vulnerability
MODERATECVE-2020-29244 is a MODERATE (CVSS 6.5) dhowden tag panic due to vulnerability (CWE-129: Improper Validation of Array Index) affecting Github.com/dhowden/tag libraries in the Go ecosystem. The issue involves dhowden tag panic due to out-of-bounds read. Remediation is available by upgrading affected packages to version 0.0.0-20201120070457-d52dcb253c63.
CVE-2020-29244 at a Glance
Security Impact
CVSS: 6.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:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2020-29244
To remediate this vulnerability, upgrade all affected Github.com/dhowden/tag 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/dhowden/tag to 0.0.0-20201120070457-d52dcb253c63
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/dhowden/tag
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-29244, inspect your project dependencies for Github.com/dhowden/tag:
inspect dependencies for github.com/dhowden/tag
Analyze the terminal output to locate any version of Github.com/dhowden/tag in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20201120070457-d52dcb253c63), 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-129: Improper Validation of Array Index, where the product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array. In Github.com/dhowden/tag, 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-2020-29244 Affected Github.com/dhowden/tag Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/dhowden/tag
|
Go |
< 0.0.0-20201120070457-d52dcb253c63
|
0.0.0-20201120070457-d52dcb253c63
|
References
Frequently Asked Questions
What is CVE-2020-29244?
Which Github.com/dhowden/tag versions are affected?
What version fixes CVE-2020-29244?
Is github.com/dhowden/tag affected?
What is the CVSS score of CVE-2020-29244?
What CWE is associated with CVE-2020-29244?
How can I check Go dependencies for CVE-2020-29244?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-27mh-3343-6hg5",
"modified" : "2024-05-20T19:53:13Z",
"published" : "2022-05-24T17:37:27Z",
"aliases" : [ "CVE-2020-29244" ],
"summary" : "dhowden tag panic due to out-of-bounds read",
"details" : "Due to improper bounds checking, a number of methods in dhowden tag before 0.0.0-20201120070457-d52dcb253c63 can trigger a panic due to attempted out-of-bounds reads. If the package is used to parse user supplied input, this may be used as a vector for a denial of service attack.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/dhowden/tag"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20201120070457-d52dcb253c63"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-29244"
}, {
"type" : "WEB",
"url" : "https://github.com/dhowden/tag/issues/79"
}, {
"type" : "WEB",
"url" : "https://github.com/dhowden/tag/commit/4b595ed4fac79f467594aa92f8953f90f817116e"
}, {
"type" : "WEB",
"url" : "https://github.com/dhowden/tag/commit/6b18201aa5c5535511802ddfb4e4117686b4866d"
}, {
"type" : "WEB",
"url" : "https://github.com/dhowden/tag/commit/a92213460e4838490ce3066ef11dc823cdc1740e"
}, {
"type" : "WEB",
"url" : "https://github.com/dhowden/tag/commit/d52dcb253c63a153632bfee5f269dd411dcd8e96"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dhowden/tag"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2021-0097"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-129" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-07T22:40:44Z",
"nvd_published_at" : "2020-12-28T08:15:00Z"
}
}