[Bug] govulncheck reports vulnerable golang.org/x/net and golang.org/x/text in called code
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 30/100
Research direction
Start by reviewing the Go module dependency files to find the versions of golang.org/x/net and golang.org/x/text reported by govulncheck. The issue gives a reproduction command and specifies that the vulnerable code is reachable; check the open linked pull request for work already underway. Done means govulncheck no longer reports these reachable vulnerabilities.
Written by the indexing model from the issue text.
Description
Describe the bug
govulncheck reports 10 vulnerabilities reachable from collaborator's code, in golang.org/x/net and golang.org/x/text. I expected no reachable vulnerabilities.
To Reproduce
Steps to reproduce the behavior:
-
Install libpcap-dev, which the
biidpackage needs to build. -
Check out master at 925ca510738f.
-
Run govulncheck:
go run golang.org/x/vuln/cmd/govulncheck@latest ./...
Findings, trimmed from the output (go1.27.3, linux/amd64):
| Advisory | Module | Found in | Fixed in |
|---|---|---|---|
| GO-2026-6617 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.60.0 |
| GO-2026-6612 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.60.0 |
| GO-2026-6611 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.60.0 |
| GO-2026-6610 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.60.0 |
| GO-2026-6603 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.60.0 |
| GO-2026-5970 | golang.org/x/text | v0.3.7 | v0.39.0 |
| GO-2026-5026 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.55.0 |
| GO-2026-4918 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.53.0 |
| GO-2024-2687 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.23.0 |
| GO-2023-1571 | golang.org/x/net | v0.0.0-20211008194852-3b03d305991f | v0.7.0 |
Your code is affected by 10 vulnerabilities from 2 modules.
Screenshots
Not applicable.
- Dominant language
- Go
- Stars
- 25
- Forks
- 9
- Avg merge
- 8h 25m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from projectdiscovery/collaborator
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
[Bug] build and lint workflows fail once go.mod requires go 1.26Possibly taken @dwisiswant0 claimed this 25 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
All issues in projectdiscovery/collaborator
Similar issues
-
ec2-subnet, security-group and internet-gateway skip all resources when one is deleted during the scanPossibly taken @toabctl claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
gruntwork-io/cloud-nuke#1208 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
snowflakedb/gosnowflake#1872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Linux 主机 macOS 主机
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Lee-xeo/Claude-Cage#1455 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days