dhowden/tag · Security
dhowden tag panic due to out-of-bounds read
- GHSA ID
- GHSA-wg79-2cgp-qrjm
- CVE ID
- CVE-2020-29245
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Description
Due to improper bounds checking, a number of methods in dhowden tag before 0.0.0-20201120070457-d52dcb253c63 can trigger a panic via readAtomData 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.
CWEs
- CWE-129 · Improper Validation of Array Index
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-29245 ↗
- https://github.com/dhowden/tag/issues/78 ↗
- https://github.com/dhowden/tag/commit/4b595ed4fac79f467594aa92f8953f90f817116e ↗
- https://github.com/dhowden/tag/commit/6b18201aa5c5535511802ddfb4e4117686b4866d ↗
- https://github.com/dhowden/tag/commit/a92213460e4838490ce3066ef11dc823cdc1740e ↗
- https://github.com/dhowden/tag/commit/d52dcb253c63a153632bfee5f269dd411dcd8e96 ↗
- https://pkg.go.dev/vuln/GO-2021-0097 ↗
- https://github.com/advisories/GHSA-wg79-2cgp-qrjm ↗