CVE-2020-26284

CVSS V2 High 8.5 CVSS V3 High 8.5
Description
Hugo is a fast and Flexible Static Site Generator built in Go. Hugo depends on Go's `os/exec` for certain features, e.g. for rendering of Pandoc documents if these binaries are found in the system `%PATH%` on Windows. In Hugo before version 0.79.1, if a malicious file with the same name (`exe` or `bat`) is found in the current working directory at the time of running `hugo`, the malicious command will be invoked instead of the system one. Windows users who run `hugo` inside untrusted Hugo sites are affected. Users should upgrade to Hugo v0.79.1. Other than avoiding untrusted Hugo sites, there is no workaround.
Overview
  • CVE ID
  • CVE-2020-26284
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2020-12-21T23:15:12
  • Last Modified Date
  • 2020-12-23T19:34:10
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:* 1 OR 0.79.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:S/C:C/I:C/A:C
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • COMPLETE
  • Integrity Impact
  • COMPLETE
  • Availability Impact
  • COMPLETE
  • Base Score
  • 8.5
  • Severity
  • HIGH
  • Exploitability Score
  • 6.8
  • Impact Score
  • 10
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • CHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 8.5
  • Base Severity
  • HIGH
  • Exploitability Score
  • 1.8
  • Impact Score
  • 6
References
Reference URL Reference Tags
https://github.com/golang/go/issues/38736 Exploit Patch Third Party Advisory
https://github.com/gohugoio/hugo/security/advisories/GHSA-8j34-9876-pvfq Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 07:29:27 Added to TrackCVE
2022-12-05 18:39:23 2020-12-21T23:15Z 2020-12-21T23:15:12 CVE Published Date updated
2022-12-05 18:39:23 2020-12-23T19:34:10 CVE Modified Date updated
2022-12-05 18:39:23 Analyzed Vulnerability Status updated