CVE-2017-1000158
Advisory lineage Upstream: 0 Downstream: 16
Modified
Published: 17 Nov 2017, 00:00
Last modified:05 Aug 2024, 21:53
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
3.59% LOW
4% probability -0.13%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
17 Nov 2017, 00:00
Published
Vulnerability first disclosed
05 Aug 2024, 21:53
Last Modified
Vulnerability information updated
Description
CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 3.59%• Percentile: 88%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
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.
Affected Systems
- debian•debian_linux
7.0 | 8.0 | 9.0
- python•python
< 2.7.15 | ≥ 3.4.0, < 3.4.8 | ≥ 3.5.0, < 3.5.5
References (9)
- https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- https://bugs.python.org/issue30657
- http://www.securitytracker.com/id/1039890
- https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html
- https://www.debian.org/security/2018/dsa-4307
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- https://security.gentoo.org/glsa/201805-02
- https://security.netapp.com/advisory/ntap-20230216-0001/