CNVD-2017-36370
Vulnerability from cnvd - Published: 2017-12-04
VLAI Severity ?
Title
MLAlchemy命令执行漏洞
Description
MLAlchemy是一个基于Python的开源实用程序库,它能够将YAML/JSON转换为SQLAlchemy SELECT查询。
MLAlchemy 0.2.2之前的版本中的arser.py文件的parse_yaml_query方法的YAML解析功能存在安全漏洞。攻击者可通过向已加载的YAML发送Python利用该漏洞执行任意的Python命令。
Severity
高
Patch Name
MLAlchemy命令执行漏洞的补丁
Patch Description
MLAlchemy是一个基于Python的开源实用程序库,它能够将YAML/JSON转换为SQLAlchemy SELECT查询。
MLAlchemy 0.2.2之前的版本中的arser.py文件的parse_yaml_query方法的YAML解析功能存在安全漏洞。攻击者可通过向已加载的YAML发送Python利用该漏洞执行任意的Python命令。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/thanethomson/MLAlchemy/commit/bc795757febdcce430d89f9d08f75c32d6989d3c
Reference
https://github.com/thanethomson/MLAlchemy/issues/1
Impacted products
| Name | MLAlchemy MLAlchemy <0.2.2 |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2017-16615",
"cveUrl": "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16615"
}
},
"description": "MLAlchemy\u662f\u4e00\u4e2a\u57fa\u4e8ePython\u7684\u5f00\u6e90\u5b9e\u7528\u7a0b\u5e8f\u5e93\uff0c\u5b83\u80fd\u591f\u5c06YAML/JSON\u8f6c\u6362\u4e3aSQLAlchemy SELECT\u67e5\u8be2\u3002\r\nMLAlchemy 0.2.2\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684arser.py\u6587\u4ef6\u7684parse_yaml_query\u65b9\u6cd5\u7684YAML\u89e3\u6790\u529f\u80fd\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u5411\u5df2\u52a0\u8f7d\u7684YAML\u53d1\u9001Python\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u7684Python\u547d\u4ee4\u3002",
"discovererName": "Joel",
"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://github.com/thanethomson/MLAlchemy/commit/bc795757febdcce430d89f9d08f75c32d6989d3c",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2017-36370",
"openTime": "2017-12-04",
"patchDescription": "MLAlchemy\u662f\u4e00\u4e2a\u57fa\u4e8ePython\u7684\u5f00\u6e90\u5b9e\u7528\u7a0b\u5e8f\u5e93\uff0c\u5b83\u80fd\u591f\u5c06YAML/JSON\u8f6c\u6362\u4e3aSQLAlchemy SELECT\u67e5\u8be2\u3002\r\nMLAlchemy 0.2.2\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u7684arser.py\u6587\u4ef6\u7684parse_yaml_query\u65b9\u6cd5\u7684YAML\u89e3\u6790\u529f\u80fd\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u5411\u5df2\u52a0\u8f7d\u7684YAML\u53d1\u9001Python\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u4efb\u610f\u7684Python\u547d\u4ee4\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": "MLAlchemy\u547d\u4ee4\u6267\u884c\u6f0f\u6d1e\u7684\u8865\u4e01",
"products": {
"product": "MLAlchemy MLAlchemy \u003c0.2.2"
},
"referenceLink": "https://github.com/thanethomson/MLAlchemy/issues/1",
"serverity": "\u9ad8",
"submitTime": "2017-11-10",
"title": "MLAlchemy\u547d\u4ee4\u6267\u884c\u6f0f\u6d1e"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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.
Loading…
Loading…