CVE-2017-18367 is a high-severity (CVSS 7.5) Improper Input Validation vulnerability in github.com/seccomp/libseccomp-golang. A fix is available for github.com/seccomp/libseccomp-golang — see the affected versions and patch details below.
Improper Input Validation in libseccomp-golang
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2017-18367 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/seccomp/libseccomp-golangReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
libseccomp-golang 0.9.0 and earlier incorrectly generates BPFs that OR multiple arguments rather than ANDing them. A process running under a restrictive seccomp filter that specified multiple syscall arguments could bypass intended access restrictions by specifying a single matching argument.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/seccomp/libseccomp-golang | all versions | 0.9.1go get github.com/seccomp/libseccomp-golang@v0.9.1 |
Affected Products
libseccomp-golanglibseccomp-golang_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/seccomp/libseccomp-golang, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/seccomp/libseccomp-golang to 0.9.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2017-18367 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This issue may affect OpenShift Container Platform 3.x and 4.x if you are providing a custom Seccomp profile using Security Context Constraints [1]. The custom Seccomp profile would need to specify multiple arguments, such as below, from [2]. { "names": [ "socketcall" ], "action": "SCMP_ACT_ALLOW", "args":…
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-0:3.11.232-1.git.0.a5bc32f.el7 | RHSA-2020:2479 |
| Red Hat OpenShift Container Platform 4.1 | openshift-0:4.1.27-201912021146.git.0.a40116f.el7 | RHSA-2019:4087 |
| Red Hat OpenShift Container Platform 4.1 | openshift4/ose-cli:v4.1.27-201912030019 | RHSA-2019:4090 |
Frequently Asked Questions
Is CVE-2017-18367 in your dependencies?
Find it across Go, including transitive dependencies.