Go Vuln the Golang 漏洞数据库
2022/11/11 2:23:53
本文主要是介绍Go Vuln the Golang 漏洞数据库,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
什么是govuln?
Govuln 是一个新的漏洞数据库,用于查找代码中易受攻击的软件包并防止供应链攻击
如何安装 thecligovulncheck
govulncheck
是用于与数据库交互并对照数据库检查代码的命令行推理,请使用以下命令安装它:
go install golang.org/x/vuln/cmd/govulncheck@latest
然后在项目中运行它,如下所示:
govulncheck .
它将在您的依赖项中搜索易受攻击的包。下面是输出的示例:
govulncheck is an experimental tool. Share feedback at https://go.dev/s/govulncheck-feedback. Scanning for dependencies with known vulnerabilities... No vulnerabilities found. === Informational === The vulnerabilities below are in packages that you import, but your code doesn't appear to call any vulnerable functions. You may not need to take any action. See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck for details. Vulnerability #1: GO-2022-1095 Due to unsanitized NUL values, attackers may be able to maliciously set environment variables on Windows. In syscall.StartProcess and os/exec.Cmd, invalid environment variable values containing NUL values are not properly checked for. A malicious environment variable value can exploit this behavior to set a value for a different environment variable. For example, the environment variable string "A=B\x00C=D" sets the variables "A=B" and "C=D". Found in: syscall@go1.19.1 Fixed in: syscall@go1.19.3 More info: https://pkg.go.dev/vuln/GO-2022-1095
有关更多详细信息
这篇关于Go Vuln the Golang 漏洞数据库的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-15SendGrid 的 Go 客户端库怎么实现同时向多个邮箱发送邮件?-icode9专业技术文章分享
- 2024-11-15SendGrid 的 Go 客户端库怎么设置header 和 标签tag 呢?-icode9专业技术文章分享
- 2024-11-12Cargo deny安装指路
- 2024-11-02MongoDB项目实战:从入门到初级应用
- 2024-11-01随时随地一键转录,Google Cloud 新模型 Chirp 2 让语音识别更上一层楼
- 2024-10-25Google Cloud动手实验详解:如何在Cloud Run上开发无服务器应用
- 2024-10-24AI ?先驱齐聚 BAAI 2024,发布大规模语言、多模态、具身、生物计算以及 FlagOpen 2.0 等 AI 模型创新成果。
- 2024-10-20goland工具下,如修改一个项目的标准库SDK的版本-icode9专业技术文章分享
- 2024-10-17Go学习:初学者的简单教程
- 2024-10-17Go学习:新手入门完全指南