Improper input validation in github.com/seccomp/libseccomp-golang
Published 14 Apr 2021 · Updated 20 May 2024
Is your project on an affected github.com/seccomp/libseccomp-golang?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <0.9.1-0.20170424173420-06e7a29f36a3
- Fixed in
- 0.9.1-0.20170424173420-06e7a29f36a3
go get github.com/seccomp/libseccomp-golang@v0.9.1-0.20170424173420-06e7a29f36a3Details
Filters containing rules with multiple syscall arguments are improperly constructed, such that all arguments are required to match rather than any of the arguments (AND is used rather than OR). These filters can be bypassed by only specifying a subset of the arguments due to this behavior.
Is GO-2020-0007 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/seccomp/libseccomp-golang, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.