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)

INFO

Published Date :

Nov. 17, 2017, 5:29 a.m.

Last Modified :

Feb. 16, 2023, 2:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2017-1000158 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-1000158 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Python python
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-1000158.

URL Resource
http://www.securitytracker.com/id/1039890 Third Party Advisory VDB Entry
https://bugs.python.org/issue30657 Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html Mailing List Third Party Advisory
https://security.gentoo.org/glsa/201805-02 Third Party Advisory
https://security.netapp.com/advisory/ntap-20230216-0001/
https://www.debian.org/security/2018/dsa-4307 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 10 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-1000158 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-1000158 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 16, 2023

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20230216-0001/ [No Types Assigned]
  • Reanalysis by [email protected]

    Jun. 27, 2022

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (including) 2.7.13 OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.15 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.4.0 up to (excluding) 3.4.8 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.5
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-119 CWE-190
  • Modified Analysis by [email protected]

    May. 08, 2019

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html Mailing List, Third Party Advisory
    Changed Reference Type https://security.gentoo.org/glsa/201805-02 No Types Assigned https://security.gentoo.org/glsa/201805-02 Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4307 No Types Assigned https://www.debian.org/security/2018/dsa-4307 Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html No Types Assigned https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html Mailing List, Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1039890 No Types Assigned http://www.securitytracker.com/id/1039890 Third Party Advisory, VDB Entry
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html No Types Assigned https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 21, 2018

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201805-02 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 29, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4307 [No Types Assigned]
  • CVE Modified by [email protected]

    Sep. 26, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html [No Types Assigned]
    Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 04, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2017/11/msg00036.html [No Types Assigned]
    Added Reference https://lists.debian.org/debian-lts-announce/2017/11/msg00035.html [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1039890 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 03, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.python.org/issue30657 No Types Assigned https://bugs.python.org/issue30657 Issue Tracking, Patch, Vendor Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (including) 2.7.13
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-1000158 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-1000158 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.43 }} -0.02%

score

0.85109

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability