Description
In ConnMan through 1.44, the lookup string in ns_resolv in dnsproxy.c can be NULL or an empty string when the TC (Truncated) bit is set in a DNS response. This allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code, because those lookup values lead to incorrect length calculations and incorrect memcpy operations.
Problem types
CWE-392 Missing Report of Error Condition
Product status
Any version
References
web.git.kernel.org/...connman.git/tree/src/dnsproxy.c?h=1.44
lapis-sawfish-be3.notion.site/...00d01d080b0b3b9c46a6da584cc