Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: invalid memory address or nil pointer dereference #5281

Closed
vrgomes opened this issue Jun 11, 2024 · 0 comments · Fixed by #5283
Closed

panic: runtime error: invalid memory address or nil pointer dereference #5281

vrgomes opened this issue Jun 11, 2024 · 0 comments · Fixed by #5283
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone

Comments

@vrgomes
Copy link

vrgomes commented Jun 11, 2024

Nuclei version:

Latest version and all 3.x.x versions

Current Behavior:

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1f78539] goroutine 37013304 [running]: github.com/projectdiscovery/nuclei/v3/pkg/reporting/trackers/jira.(*Integration).CreateNewIssue(0xc000eba2e0, 0xc007a270e0) github.com/projectdiscovery/nuclei/v3/pkg/reporting/trackers/jira/jira.go:130 +0x899 github.com/projectdiscovery/nuclei/v3/pkg/reporting/trackers/jira.(*Integration).CreateIssue(0xc000a303a8?, 0xc007a270e0?) github.com/projectdiscovery/nuclei/v3/pkg/reporting/trackers/jira/jira.go:204 +0x48 github.com/projectdiscovery/nuclei/v3/pkg/reporting.(*ReportingClient).CreateIssue(0xc002c0c900, 0xc007a270e0?) github.com/projectdiscovery/nuclei/v3/pkg/reporting/reporting.go:239 +0xf5 github.com/projectdiscovery/nuclei/v3/pkg/protocols/common/helpers/writer.WriteResult(0xc0599a3ae0, {0x3228368, 0xc0009ebea0}, {0x322cf28, 0xc000c98fe0}, {0x3228dc0, 0xc002c0c900}) github.com/projectdiscovery/nuclei/v3/pkg/protocols/common/helpers/writer/writer.go:29 +0x166 github.com/projectdiscovery/nuclei/v3/pkg/templates.(*ClusterExecuter).Execute.func1(0xc0599a3ae0) github.com/projectdiscovery/nuclei/v3/pkg/templates/cluster.go:272 +0x3cf github.com/projectdiscovery/nuclei/v3/pkg/protocols/ssl.(*Request).ExecuteWithResults(0xc000946690, 0xc048ffe078, 0x761801?, 0xc055fe7ed8?, 0xc048ffe150) github.com/projectdiscovery/nuclei/v3/pkg/protocols/ssl/ssl.go:310 +0x1e5c github.com/projectdiscovery/nuclei/v3/pkg/templates.(*ClusterExecuter).Execute(0xc0126fd4c0, 0xc05305bfb0) github.com/projectdiscovery/nuclei/v3/pkg/templates/cluster.go:254 +0x145 github.com/projectdiscovery/nuclei/v3/pkg/core.(*Engine).executeTemplateWithTargets.func2.1(0x75f0a5?, 0x0?, 0xc00a0d1800) github.com/projectdiscovery/nuclei/v3/pkg/core/executors.go:128 +0x1d3 created by github.com/projectdiscovery/nuclei/v3/pkg/core.(*Engine).executeTemplateWithTargets.func2 in goroutine 37012014 github.com/projectdiscovery/nuclei/v3/pkg/core/executors.go:105 +0x4f1

Expected Behavior:

Pass with success.

Steps To Reproduce:

  1. Run: ./nuclei -l ALL_URLS.txt -j -rc jira_report_config_prod.yaml -rl 200 -c 60 -mhe 2 -timeout 5 info
  2. The Urls that it scan is big file, so it takes some hours to run, but it through this error sometimes.
@vrgomes vrgomes added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jun 11, 2024
@ehsandeep ehsandeep added this to the nuclei v3.2.9 milestone Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants