Vulnerability · Published Mar 15, 2024 · Assigned by GitHub_M
CVE-2024-27920Unsigned code template execution through workflows in projectdiscovery/nuclei
High 7.4
In plain English
A high-severity OS command injection in nuclei from projectdiscovery. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
projectdiscovery/nuclei is a fast and customisable vulnerability scanner based on simple YAML based DSL. A significant security oversight was identified in Nuclei v3, involving the execution of unsigned code templates through workflows. This vulnerability specifically affects users utilizing custom workflows, potentially allowing the execution of malicious code on the user's system. This advisory outlines the impacted users, provides details on the security patch, and suggests mitigation strategies. The vulnerability is addressed in Nuclei v3.2.0. Users are strongly recommended to update to this version to mitigate the security risk. Users should refrain from using custom workflows if unable to upgrade immediately. Only trusted, verified workflows should be executed.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/projectdiscovery/nuclei | no fix listed | GO-2024-2645 |
| Go | github.com/projectdiscovery/nuclei/v2 | no fix listed | GO-2024-2645 |
| Go | github.com/projectdiscovery/nuclei/v3 | 3.2.0 | GHSA-w5wx-6g2r-r78q |
| Go | github.com/projectdiscovery/nuclei/v3 | 3.2.0 | GO-2024-2645 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| projectdiscovery | nuclei | >= 3.0.0, < 3.2.0 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
References
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-w5wx-6g2r-r78q x_refsource_CONFIRM
- https://github.com/projectdiscovery/nuclei/pull/4822 x_refsource_MISC
- https://docs.projectdiscovery.io/templates/protocols/code x_refsource_MISC
- https://docs.projectdiscovery.io/templates/reference/template-signing x_refsource_MISC
- https://docs.projectdiscovery.io/templates/workflows/overview x_refsource_MISC