CVE-2020-29245: dhowden tag panic due to out-of-bounds read
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.61902%
CWE
Published
5/24/2022
Updated
9/18/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/dhowden/tag | go | < 0.0.0-20201120070457-d52dcb253c63 | 0.0.0-20201120070457-d52dcb253c63 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key evidence comes from: 1) The patch diff shows the bounds check in readAtomData was increased from 3 to 4 bytes, 2) The test case in GHSA-wg79-2cgp-qrjm demonstrates a panic at this location, 3) The CWE-129 mapping confirms improper array index validation, and 4) The commit message explicitly states 'check bounds in readAtomData'. While other functions (ReadAtoms/ReadFrom) are entry points, readAtomData is the specific function with the flawed bounds check.