Access Control Bypass Affecting github.com/seccomp/libseccomp-golang package, versions <0.9.1


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.26% (66th percentile)
Expand this section
NVD
7.5 high
Expand this section
Red Hat
6.5 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMSECCOMPLIBSECCOMPGOLANG-174520
  • published 25 Apr 2019
  • disclosed 24 Apr 2019
  • credit An Xiao

How to fix?

Upgrade github.com/seccomp/libseccomp-golang to version 0.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Access Control Bypass. Earlier versions of libseccomp-golang incorrectly generates BPFs using OR boolean logic instead of AND. Due to this flaw, a process running under a restrictive seccomp filter that specified multiple syscall arguments could bypass intended access restrictions by specifying a single matching argument. Multiple syscall argument rules should be matched with AND logic.