iproute2 before 5.1.0 has a use-after-free in get_netnsid_from_name in ip/ipnetns.c. NOTE: security relevance may be limited to certain uses of setuid that, although not a default, are sometimes a configuration option offered to end users. Even when setuid is used, other factors (such as C library configuration) may block exploitability.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Iproute2 | Iproute2_project | * | 5.1.0 (excluding) |
Iproute2 | Ubuntu | bionic | * |
Iproute2 | Ubuntu | esm-infra/bionic | * |
Iproute2 | Ubuntu | trusty | * |
Iproute2 | Ubuntu | upstream | * |