The fetch utility is used for retrieving files from remote systems. An integer overflow in calculating a buffer size can result in a buffer overflow vulnerability. This could enable a malicious server to execute arbitrary code on the router. This vulnerability is tracked within Juniper as PR/52842.
fetch
JUNOS code has been updated to correct the buffer size calculation, eliminating the possible buffer overflow.
All versions of JUNOS built on or after Nov. 19, 2004 contain the corrected code. Customers are encouraged to upgrade to a release containing the fix.