CNVD-2017-37719
Vulnerability from cnvd - Published: 2017-12-21
VLAI
Title
CPython 'PyString_DecodeEscape'函数整数溢出漏洞
Description
Python是Python软件基金会的一套开源的、面向对象的程序设计语言,该语言具有可扩展、支持模块和包、支持多种平台等特点。CPython(又名Python)是一款用C语言实现的Python解释器。
CPython 2.7.13及之前的版本中的stringobject.c文件的'PyString_DecodeEscape'函数存在整数溢出漏洞。攻击者可利用该漏洞造成堆缓冲区溢出并可能执行任意代码。
Severity
高
Patch Name
CPython 'PyString_DecodeEscape'函数整数溢出漏洞的补丁
Patch Description
Python是Python软件基金会的一套开源的、面向对象的程序设计语言,该语言具有可扩展、支持模块和包、支持多种平台等特点。CPython(又名Python)是一款用C语言实现的Python解释器。
CPython 2.7.13及之前的版本中的stringobject.c文件的'PyString_DecodeEscape'函数存在整数溢出漏洞。攻击者可利用该漏洞造成堆缓冲区溢出并可能执行任意代码。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://bugs.python.org/issue30657
Reference
https://bugs.python.org/issue30657
Impacted products
| Name | Python Python <=2.7.13 |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2017-1000158",
"cveUrl": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000158"
}
},
"description": "Python\u662fPython\u8f6f\u4ef6\u57fa\u91d1\u4f1a\u7684\u4e00\u5957\u5f00\u6e90\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\uff0c\u8be5\u8bed\u8a00\u5177\u6709\u53ef\u6269\u5c55\u3001\u652f\u6301\u6a21\u5757\u548c\u5305\u3001\u652f\u6301\u591a\u79cd\u5e73\u53f0\u7b49\u7279\u70b9\u3002CPython\uff08\u53c8\u540dPython\uff09\u662f\u4e00\u6b3e\u7528C\u8bed\u8a00\u5b9e\u73b0\u7684Python\u89e3\u91ca\u5668\u3002\r\n\r\nCPython 2.7.13\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684stringobject.c\u6587\u4ef6\u7684\u0027PyString_DecodeEscape\u0027\u51fd\u6570\u5b58\u5728\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u5806\u7f13\u51b2\u533a\u6ea2\u51fa\u5e76\u53ef\u80fd\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002",
"discovererName": "unknwon",
"formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://bugs.python.org/issue30657",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2017-37719",
"openTime": "2017-12-21",
"patchDescription": "Python\u662fPython\u8f6f\u4ef6\u57fa\u91d1\u4f1a\u7684\u4e00\u5957\u5f00\u6e90\u7684\u3001\u9762\u5411\u5bf9\u8c61\u7684\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00\uff0c\u8be5\u8bed\u8a00\u5177\u6709\u53ef\u6269\u5c55\u3001\u652f\u6301\u6a21\u5757\u548c\u5305\u3001\u652f\u6301\u591a\u79cd\u5e73\u53f0\u7b49\u7279\u70b9\u3002CPython\uff08\u53c8\u540dPython\uff09\u662f\u4e00\u6b3e\u7528C\u8bed\u8a00\u5b9e\u73b0\u7684Python\u89e3\u91ca\u5668\u3002\r\n\r\nCPython 2.7.13\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684stringobject.c\u6587\u4ef6\u7684\u0027PyString_DecodeEscape\u0027\u51fd\u6570\u5b58\u5728\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u5806\u7f13\u51b2\u533a\u6ea2\u51fa\u5e76\u53ef\u80fd\u6267\u884c\u4efb\u610f\u4ee3\u7801\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
"patchName": "CPython \u0027PyString_DecodeEscape\u0027\u51fd\u6570\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": "Python Python \u003c=2.7.13"
},
"referenceLink": "https://bugs.python.org/issue30657",
"serverity": "\u9ad8",
"submitTime": "2017-11-24",
"title": "CPython \u0027PyString_DecodeEscape\u0027\u51fd\u6570\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e"
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.