Skip to content
OpenAdvisories
Medium · 4.8 CVE-2017-18367 EUVD-2021-0954GHSA-58v3-j75h-xr49GO-2020-0007

Improper Input Validation in libseccomp-golang

Published Apr 24, 2019 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-seccomp-libseccomp-golang 0.9.0-2 —
Debian 13 golang-github-seccomp-libseccomp-golang 0.9.0-2 —
Debian 12 golang-github-seccomp-libseccomp-golang 0.9.0-2 —
Debian 9 golang-github-seccomp-libseccomp-golang 0.0~git20150813.0.1b506fc-2+deb9u1 DLA-2320-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS golang-github-seccomp-libseccomp-golang No fix yet —
Ubuntu 16.04 LTS golang-github-seccomp-libseccomp-golang 0.0~git20150813.0.1b506fc-2+deb9u1build0.16.04.1 USN-4574-1
ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 openshift +3 4.1.27-201912021146.git.0.a40116f.el7 RHSA-2019:4087
Red Hat OpenShift 3 atomic-openshift +12 3.11.232-1.git.0.a5bc32f.el7 RHSA-2020:2479

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/seccomp/libseccomp-golang < 0.9.1 0.9.1 GHSA-58v3-j75h-xr49
Go github.com/seccomp/libseccomp-golang < 0.9.1-0.20170424173420-06e7a29f36a3 0.9.1-0.20170424173420-06e7a29f36a3 GO-2020-0007

Advisories 5

References