CVE-2020-25614
xmlquery before 1.3.1 lacks a check for whether a LoadURL response is ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Ubuntu (medium).
Description
xmlquery before 1.3.1 lacks a check for whether a LoadURL response is in the XML format, which allows attackers to cause a denial of service (SIGSEGV) at xmlquery.(*Node).InnerText or possibly have unspecified other impact.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | golang-github-antchfx-xmlquery | 1.3.3-1 |
| debian 12 | golang-github-antchfx-xmlquery | 1.3.3-1 |
| debian 13 | golang-github-antchfx-xmlquery | 1.3.3-1 |
| debian 14 | golang-github-antchfx-xmlquery | 1.3.3-1 |
| echo | golang-github-antchfx-xmlquery | 1.3.3-1 |
| go::GitHub Security Advisory Go | github.com/antchfx/xmlquery | 1.3.1 |
| ubuntu 20.04-ESM | golang-github-antchfx-xmlquery | no fix listed |
References
- https://github.com/antchfx/xmlquery
- https://github.com/antchfx/xmlquery/commit/5648b2f39e8d5d3fc903c45a4f1274829df71821
- https://github.com/antchfx/xmlquery/compare/v1.3.0...v1.3.1
- https://github.com/antchfx/xmlquery/issues/39
- https://nvd.nist.gov/vuln/detail/CVE-2020-25614
- https://pkg.go.dev/vuln/GO-2020-0048
- https://www.cve.org/CVERecord?id=CVE-2020-25614