VDB
Sign up
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-d52dcb253c63

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.

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-d52dcb253c63
Fixgo get github.com/dhowden/tag@v0.0.0-20201120070457-d52dcb253c63

References