CVE-2017-18367 Improper Input Validation in libseccomp-golang

High 7.5 Published Updated

Attackers can bypass seccomp restrictions by exploiting incorrect BPF generation in libseccomp-golang, allowing unauthorized syscall execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-18367?

CVE-2017-18367 is a high-severity vulnerability in n/a, published on 24 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-20

Which versions are affected by CVE-2017-18367?

3 open source packages ship an affected version, including github.com/seccomp/libseccomp-golang. It affects 1 product.

PackageAffectedFixed in
github.com/seccomp/libseccomp-golang GoAll versions0.9.1
github.com/seccomp/libseccomp-golang GoAll versions0.9.1
github.com/seccomp/libseccomp-golang GoAll versions0.9.1-0.20170424173420-06e7a29f36a3

Products include Libseccomp-Golang Project Libseccomp-Golang.

How do I fix CVE-2017-18367?

Upgrade github.com/seccomp/libseccomp-golang to a fixed version for your release line: 0.9.1 or 0.9.1-0.20170424173420-06e7a29f36a3.

Is CVE-2017-18367 being exploited?

There is no known exploitation of CVE-2017-18367 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-18367, DLA-2320-1, GHSA-58v3-j75h-xr49, GO-2020-0007, UBUNTU-CVE-2017-18367, USN-4574-1.

Is CVE-2017-18367 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free