Description
pcap_ether_aton() is an auxiliary function in libpcap, it takes a string argument and returns a fixed-size allocated buffer. The string argument must be a well-formed MAC-48 address in one of the supported formats, but this requirement has been poorly documented. If an application calls the function with an argument that deviates from the expected format, the function can read data beyond the end of the provided string and write data beyond the end of the allocated buffer.
Problem types
CWE-122 Heap-based Buffer Overflow
Product status
Any version before 1.10.6
Credits
Jin Wei
Kunwei Qian
Ping Chen
References
github.com/...ommit/b2d2f9a9a0581c40780bde509f7cc715920f1c02