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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-containernetworking-plugins (PTS)bullseye0.9.0-1fixed
sid, trixie, bookworm1.1.1+ds1-3fixed
kubernetes (PTS)bullseye1.20.5+really1.20.2-1fixed
sid, trixie, bookworm1.20.5+really1.20.2-1.1fixed
singularity-container (PTS)sid4.1.1+ds2-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