GitHub Advisoryadvisory · Go

GHSA-27mh-3343-6hg5 dhowden tag panic due to out-of-bounds read

MEDIUM Published 2022-05-24 Modified 2024-05-20 Official page ↗
Aliases
CVE-2020-29244
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 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-29244 dhowden tag before 2020-11-19 allows "panic: runtime error: slice bounds out of range" via readTextWithDescrFrame. vulnerability

Weakness · CWE (1)

  • CWE-129 Improper Validation of Array Index weakness

References