CVE-2024-27920:
Nuclei allows unsigned code template execution through workflows
7.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.12678%
CWE
Published
3/15/2024
Updated
8/20/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/projectdiscovery/nuclei/v3 | go | >= 3.0.0, < 3.2.0 | 3.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing validation checks in the workflow parsing logic. The security patch added critical validation in parseWorkflowTemplate (seen in the commit diff) to check: 1) if code templates require the -code flag, and 2) if templates are properly verified. The absence of these checks in vulnerable versions allowed execution of unsigned code via workflows. The CWE-78 mapping confirms this is an OS command injection vector through unvalidated code execution.