{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2019-9946 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-9946 is a high-severity vulnerability in Kubernetes Kubernetes, published on 2 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-9946 and fix it if it is affected.\n\nWhat it is: CVE-2019-9946 is a high-severity vulnerability in Kubernetes Kubernetes, published on 2 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-9946 in the wild and no public exploit code.\n\nAffected product: Kubernetes Kubernetes. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-9946/ (Markdown: https://insights.sbomify.com/CVE-2019-9946/index.md)","id":"CVE-2019-9946","markdown":"https://insights.sbomify.com/CVE-2019-9946/index.md","name":"CVE-2019-9946","record":{"aliases":["CLEANSTART-2025-IG62048","DEBIAN-CVE-2019-9946","GHSA-6g96-g4m6-hw69","RHBA-2019:0862"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes CNI plugin","requires_auth":"none","summary":"The CNI portmap plugin misconfigures iptables rules, allowing HostPort traffic to bypass specific Kubernetes service definitions and security policies.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"portmap","vendor":"cncf"},{"product":"kubernetes","vendor":"kubernetes"},{"product":"cloud_insights","vendor":"netapp"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"description":"Cloud 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.","ecosystems":["Red Hat:rhel_extras_other:7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Misconfiguration in n/a","id":"CVE-2019-9946","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"kubernetes:kubernetes","products":["kubernetes:kubernetes"],"type":"misconfiguration","year":"2019"},"n_packages":2,"n_references":5,"next":{"headline":"Other in n/a","id":"CVE-2019-9947"},"packages":[{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.7.5-2.el7"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/redhat/containernetworking-plugins","source":"RHBA-2019:0862"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.7.5-2.el7"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins-debuginfo","purl":"pkg:rpm/redhat/containernetworking-plugins-debuginfo","source":"RHBA-2019:0862"}],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2019-9945"},"products":["n/a"],"published":"2019-04-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"The CNI portmap plugin misconfigures iptables rules, allowing HostPort traffic to bypass specific Kubernetes service definitions and security policies.","url":"https://insights.sbomify.com/CVE-2019-9946/"}