An issue was discovered in certain Apple products. iOS before 11.4 is affected. macOS before 10.13.5 is affected. tvOS before 11.4 is affected. watchOS before 4.3.1 is affected. The issue involves pktmnglr_ipfilter_input in com.apple.packet-mangler in the "Kernel" component. It allows attackers to execute arbitrary code in a privileged context or cause a denial of service (integer overflow and stack-based buffer overflow) via a crafted app.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://support.apple.com/HT208850 | vendor advisory |
https://support.apple.com/HT208851 | vendor advisory |
http://www.securitytracker.com/id/1041027 | vdb entry third party advisory |
https://lgtm.com/blog/apple_xnu_packet_mangler_CVE-2017-13904 | exploit third party advisory mitigation |
https://support.apple.com/HT208848 | vendor advisory |
https://support.apple.com/HT208849 | vendor advisory |
http://packetstormsecurity.com/files/172828/Apple-packet-mangler-Remote-Code-Execution.html |