Input validation error in libseccomp-golang - CVE-2017-18367

 

Input validation error in libseccomp-golang - CVE-2017-18367

Published: December 17, 2019 / Updated: December 17, 2019


Vulnerability identifier: #VU23633
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-18367
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass certain security restrictions.

The vulnerability exists due to insufficient validation of user-supplied input in libseccomp-golang. The software 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 software

libseccomp-golang
Red Hat OpenShift Container Platform
Ubuntu
golang-github-seccomp-libseccomp-golang-dev (Ubuntu package)
atomic-openshift (Red Hat package)

How to mitigate CVE-2017-18367

Install updates from vendor's website.

libseccomp-golang - update to 0.9.1
Red Hat OpenShift Container Platform - update to 4.1.27
golang-github-seccomp-libseccomp-golang-dev (Ubuntu package) - update to 0.0~git20150813.0.1b506fc-2+deb9u1build0.16.04.1
atomic-openshift (Red Hat package) - update to 3.11.232-1.git.0.a5bc32f.el7

External References

Related Security Bulletins