CVE-2024-27920 Unsigned code template execution through workflows in projectdiscovery/nuclei
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ProjectDiscovery Nuclei(Go) | >= 3.0.0, < 3.2.0; All versions | 3.2.0 | Partially fixed |
| ProjectDiscovery Nuclei | = >= 3.0.0, < 3.2.0; >= 3.0.0, < 3.2.0 | 3.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ProjectDiscovery Nuclei(Go) | >= 3.0.0, < 3.2.0 | 3.2.0 |
| ProjectDiscovery Nuclei(Go) | All versions | No fix listed |
| ProjectDiscovery Nuclei | = >= 3.0.0, < 3.2.0 | No fix listed |
| ProjectDiscovery Nuclei | >= 3.0.0, < 3.2.0 | 3.2.0 |
References
- https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-w5wx-6g2r-r78q vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/projectdiscovery/nuclei/pull/4822 issue-tracking patch
- github.com patch
- https://docs.projectdiscovery.io/templates/protocols/code technical-description
- https://docs.projectdiscovery.io/templates/reference/template-signing technical-description
- https://docs.projectdiscovery.io/templates/workflows/overview technical-description
- github.com product
- github.com