PT-2020-12547 · Weave · Weave Net
Morancj
·
Published
2020-06-03
·
Updated
2024-08-21
·
CVE-2020-11091
CVSS v3.1
5.8
Medium
| Vector | AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Weave Net versions prior to 2.6.3
Description
An attacker able to run a process as root in a container can respond to DNS requests from the host and insert themselves as a fake service. In a cluster with an IPv4 internal network, if IPv6 is not totally disabled on the host, it may be unconfigured or configured on some interfaces. The combination of IPv6 forwarding being disabled and the host accepting router advertisements means that the host can be reconfigured using rogue router advertisements. This allows an attacker to redirect part or all of the IPv6 traffic of the host to the attacker-controlled container. Even without initial IPv6 traffic, if the DNS returns both A and AAAA records, many HTTP libraries will try to connect via IPv6 first, giving the attacker an opportunity to respond.
Recommendations
For Weave Net versions prior to 2.6.3, users should not run containers with CAP NET RAW capability as a workaround.
Update to Weave Net version 2.6.3, which disables the accept ra option on the veth devices that it creates, to resolve the issue.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Weave Net