GitHub Advisoryadvisory · Go
GHSA-9wm7-rc47-g56m dhowden tag panic due to out-of-bounds read
MEDIUM
Official page ↗
- Aliases
- CVE-2020-29243
- Ecosystem
- Go
- Packages
- github.com/dhowden/tag
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-129
- Reviewed
- 2023-02-07
Affected packages
• Go github.com/dhowden/tag: < 0.0.0-20201120070457-d52dcb253c63 → fixed in 0.0.0-20201120070457-d52dcb253c63
Description
Due to improper bounds checking, a number of methods in dhowden tag before 0.0.0-20201120070457-d52dcb253c63 can trigger a panic via `readAPICFrame` 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.
Related
Alias · CVE (1)
- CVE-2020-29243 dhowden tag before 2020-11-19 allows "panic: runtime error: index out of range" via readAPICFrame. vulnerability
Weakness · CWE (1)
- CWE-129 Improper Validation of Array Index weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-29243 advisory
- https://github.com/dhowden/tag/issues/80 web
- https://github.com/dhowden/tag/commit/4b595ed4fac79f467594aa92f8953f90f817116e web
- https://github.com/dhowden/tag/commit/6b18201aa5c5535511802ddfb4e4117686b4866d web
- https://github.com/dhowden/tag/commit/a92213460e4838490ce3066ef11dc823cdc1740e web
- https://github.com/dhowden/tag/commit/d52dcb253c63a153632bfee5f269dd411dcd8e96 web
- https://github.com/dhowden/tag package
- https://pkg.go.dev/vuln/GO-2021-0097 web