add CVE-2020-5252 for GHSA-7q25-qrjw-6fg2

This commit is contained in:
Robert Schultheis 2020-03-23 17:03:30 -06:00
parent 0a3cef0730
commit 5386ae7635
No known key found for this signature in database
GPG Key ID: 348C4211B4D8BB40

View File

@ -1,18 +1,93 @@
{
"data_type": "CVE",
"data_format": "MITRE",
"data_version": "4.0",
"CVE_data_meta": {
"ASSIGNER": "security-advisories@github.com",
"ID": "CVE-2020-5252",
"ASSIGNER": "cve@mitre.org",
"STATE": "RESERVED"
"STATE": "PUBLIC",
"TITLE": "Malicious package may avoid detection in python auditing"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "safety",
"version": {
"version_data": [
{
"version_value": "< 1.9.0"
}
]
}
}
]
},
"vendor_name": "pyupio"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided."
"value": "The command-line \"safety\" package for Python has a potential security issue.\n\nThere are two Python characteristics that allow malicious code to “poison-pill” command-line Safety package detection routines by disguising, or obfuscating, other malicious or non-secure packages.\n\nThis vulnerability is considered to be of low severity because the attack makes use of an existing Python condition, not the Safety tool itself.\n\nThis can happen if:\n\nYou are running Safety in a Python environment that you dont trust.\nYou are running Safety from the same Python environment where you have your dependencies installed.\nDependency packages are being installed arbitrarily or without proper verification.\n\nUsers can mitigate this issue by doing any of the following:\n\nPerform a static analysis by installing Docker and running the Safety Docker image: $ docker run --rm -it pyupio/safety check -r requirements.txt\n\nRun Safety against a static dependencies list, such as the requirements.txt file, in a separate, clean Python environment.\n\nRun Safety from a Continuous Integration pipeline.\n\nUse PyUp.io, which runs Safety in a controlled environment and checks Python for dependencies without any need to install them.\n\nUse PyUp's Online Requirements Checker."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-807 Reliance on Untrusted Inputs in a Security Decision"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/pyupio/safety/security/advisories/GHSA-7q25-qrjw-6fg2",
"refsource": "CONFIRM",
"url": "https://github.com/pyupio/safety/security/advisories/GHSA-7q25-qrjw-6fg2"
},
{
"name": "https://pyup.io/posts/patched-vulnerability/",
"refsource": "CONFIRM",
"url": "https://pyup.io/posts/patched-vulnerability/"
},
{
"name": "https://github.com/akoumjian/python-safety-vuln",
"refsource": "CONFIRM",
"url": "https://github.com/akoumjian/python-safety-vuln"
}
]
},
"source": {
"advisory": "GHSA-7q25-qrjw-6fg2",
"discovery": "UNKNOWN"
}
}