# CVE-2019-1010142: Infinite Loop in scapy

Source: https://junglewise.ai/threats/cve-2019-1010142-infinite-loop-in-scapy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-07-19  
License: CC BY 4.0 with a link back

CVE-2019-1010142 · Severity: low · CVSS 3.1 · Published 2019-07-19

scapy 2.4.0 is affected by: Denial of Service. The impact is: infinite loop, resource consumption and program unresponsive. The component is: _RADIUSAttrPacketListField.getfield(self..). The attack vector is: over the network or in a pcap. both work.

Technologies: [scapy (PyPI)](https://junglewise.ai/threats/technologies/scapy). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2019-1010142 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-1010142 being exploited in the wild.

**How severe is CVE-2019-1010142?** Low severity, with a CVSS score of 3.1, published 19 July 2019.

**Which products and versions are affected?** scapy (PyPI) ECOSYSTEM:introduced=0,fixed=2.4.1, ECOSYSTEM:introduced=2.4-rc1,fixed=2.4.1.

**Is there a fix for CVE-2019-1010142?** Yes. scapy (PyPI): upgrade to 2.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-1010142?** Check whether you run scapy (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- scapy (PyPI): upgrade to 2.4.1 or later

  ```sh
  pip install "scapy>=2.4.1"
  ```


## Affected products

- scapy (PyPI) ECOSYSTEM:introduced=0,fixed=2.4.1, ECOSYSTEM:introduced=2.4-rc1,fixed=2.4.1

## Identifiers

- CVE-2019-1010142
- GHSA-mpf2-q34c-fc6j
- PYSEC-2019-120

## Related threats

- [Scapy Session Loading Vulnerable to Arbitrary Code Execution via Untrusted Pickle Deserialization](https://junglewise.ai/threats/scapy-session-loading-vulnerable-to-arbitrary-code-execution-via-34fed14b)
- [PYSEC-2019-50 - scapy 2.4.0 is affected by: Denial of Service. The impact is: infinite loop, resource consumption and…](https://junglewise.ai/threats/pysec-2019-50-scapy-2-4-0-is-affected-by-denial-of-service-the-impact-6138f74b)
