CVE-2019-9946

NameCVE-2019-9946
DescriptionCloud Native Computing Foundation (CNCF) CNI (Container Networking Interface) 0.7.4 has a network firewall misconfiguration which affects Kubernetes. The CNI 'portmap' plugin, used to setup HostPorts for CNI, inserts rules at the front of the iptables nat chains; which take precedence over the KUBE- SERVICES chain. Because of this, the HostPort/portmap rule could match incoming traffic even if there were better fitting, more specific service definition rules like NodePorts later in the chain. The issue is fixed in CNI 0.7.5 and Kubernetes 1.11.9, 1.12.7, 1.13.5, and 1.14.0.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-containernetworking-plugins (PTS)bullseye, sid0.8.6-2fixed
kubernetes (PTS)sid1.19.3-1fixed
singularity-container (PTS)sid3.5.2+ds1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-containernetworking-pluginssource(unstable)(not affected)
kubernetessource(unstable)1.17.4-1
singularity-containersource(unstable)3.5.0+ds1-1

Notes

- golang-github-containernetworking-plugins <not-affected> (Fixed before initial upload)
https://bugzilla.redhat.com/show_bug.cgi?id=1692712
singularity-container embeds a copy, but switched to packaged one in 3.5.0+ds1-1, marking as fixed

Search for package or bug name: Reporting problems