7.5high

CVE-2017-18367

Improper Input Validation in libseccomp-golang

Also known as GHSA-58v3-j75h-xr49, GO-2020-0007

Published 7 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.4%
percentile 84%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.43% probability of exploitation in the next 30 days, higher than 84% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub3.14.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/seccomp/libseccomp-golang
<0.9.1
<0.9.1-0.20170424173420-06e7a29f36a3
0.9.1
0.9.1-0.20170424173420-06e7a29f36a3

Classification

Weakness

References

  • github.com /seccomp/libseccomp-golang/issues/22 · x_refsource_MISC, x_transferred
  • github.com /seccomp/libseccomp-golang/commit/06e7a29f36a34b8cf419aeb87b979ee508e58f9e · x_refsource_MISC, x_transferred
  • openwall.com /lists/oss-security/2019/04/25/6 · mailing-list, x_refsource_MLIST, x_transferred
  • access.redhat.com /errata/RHSA-2019:4087 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • access.redhat.com /errata/RHSA-2019:4090 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • lists.debian.org /debian-lts-announce/2020/08/msg00016.html · mailing-list, x_refsource_MLIST, x_transferred
  • usn.ubuntu.com /4574-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-18367 · advisory
  • usn.ubuntu.com /4574-1 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.