Wireshark sharkd
cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*
- >= 4.6.0, <= 4.6.4
- >= 4.4.0, <= 4.4.14
A denial-of-service vulnerability has been identified in the Wireshark sharkd utility, specifically in versions 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14. The issue arises from a NULL pointer dereference in the 'setcomment' method, where the comment parameter is optional. When omitted, it leads to a crash by causing a read access violation. This vulnerability can be exploited by sending a malformed JSON-RPC request that omits the comment parameter, causing sharkd to crash when the missing value is processed.
Exploitation of this vulnerability leads to a crash of the sharkd utility, causing a denial-of-service condition.
The vulnerability can be reproduced by running the sharkd utility with AddressSanitizer enabled, and piping a JSON-RPC request that omits the 'comment' parameter into the process. This can be done using a simple JSON file that removes the comment attribute from the 'setcomment' method, which will trigger the NULL pointer dereference and crash the application.
Users are advised to upgrade to Wireshark versions 4.6.5, 4.4.15 or later.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.