CVE-2024-43405Projectdiscovery Nuclei
High 7.8
Follow: this CVE · Projectdiscovery · Projectdiscovery Nuclei We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- Yes
- Published
- Sep 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
Nuclei is a vulnerability scanner powered by YAML based templates. Starting in version 3.0.0 and prior to version 3.3.2, a vulnerability in Nuclei's template signature verification system could allow an attacker to bypass the signature check and possibly execute malicious code via custom code template. The vulnerability is present in the template signature verification process, specifically in the `signer` package. The vulnerability stems from a discrepancy between how the signature verification process and the YAML parser handle newline characters, combined with the way multiple signatures are processed. This allows an attacker to inject malicious content into a template while maintaining a valid signature for the benign part of the template. CLI users are affected if they execute custom code templates from unverified sources. This includes templates authored by third parties or obtained from unverified repositories. SDK Users are affected if they are developers integrating Nuclei into their platforms, particularly if they permit the execution of custom code templates by end-users. The vulnerability is addressed in Nuclei v3.3.2. Users are strongly recommended to update to this version to mitigate the security risk. As an interim measure, users should refrain from using custom templates if unable to upgrade immediately. Only trusted, verified templates should be executed. Those who are unable to upgrade Nuclei should disable running custom code templates as a workaround.
What to do
- Apply the vendor's security update for Nuclei.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/projectdiscovery/nuclei |
all |
no fixed version | — |
| Go | github.com/projectdiscovery/nuclei/v2 |
all |
no fixed version | — |
| Go | github.com/projectdiscovery/nuclei/v3 |
≥ 3.0.0 < 3.3.2 |
3.3.2 |
go get github.com/projectdiscovery/nuclei/v3@v3.3.2 |
| Go | github.com/projectdiscovery/nuclei/v3 |
≥ 3.0.0 < 3.3.2 |
3.3.2 |
go get github.com/projectdiscovery/nuclei/v3@v3.3.2 |
Per OSV / GitHub Advisories (GO-2024-3114, GHSA-7h5p-mmpp-hgmm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| projectdiscovery | nuclei | ≥ 3.0.0 < 3.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Mitigation Third Party Advisory