MEDIUM6.5
GHSA-27mh-3343-6hg5
dhowden tag panic due to out-of-bounds read
Quick fix
GHSA-27mh-3343-6hg5 — github.com/dhowden/tag: upgrade to the fixed version with the command below.
go get github.com/dhowden/tag@v0.0.0-20201120070457-d52dcb253c63Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/dhowden/tag
Introduced in:
0Fixed in: 0.0.0-20201120070457-d52dcb253c63Fix
go get github.com/dhowden/tag@v0.0.0-20201120070457-d52dcb253c63References
- https://nvd.nist.gov/vuln/detail/CVE-2020-29244[ADVISORY]
- https://github.com/dhowden/tag/issues/79[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]