-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(python): add support for requirements.txt (#1169)
- Loading branch information
1 parent
0ea9936
commit feff59f
Showing
7 changed files
with
147 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
click==8.0.0 | ||
Flask==2.0.0 | ||
itsdangerous==2.0.0 | ||
Jinja2==3.0.0 | ||
MarkupSafe>2.0.0 | ||
Werkzeug==0.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
[ | ||
{ | ||
"Target": "requirements.txt", | ||
"Class": "lang-pkgs", | ||
"Type": "pip", | ||
"Vulnerabilities": [ | ||
{ | ||
"VulnerabilityID": "CVE-2019-14806", | ||
"PkgName": "Werkzeug", | ||
"InstalledVersion": "0.11", | ||
"FixedVersion": "0.15.3", | ||
"Layer": { | ||
"DiffID": "sha256:6393f36bbbee0b53834ba0f9f585194d9e5ab56b555a2910551254fc8a2aec19" | ||
}, | ||
"SeveritySource": "nvd", | ||
"PrimaryURL": "https://avd.aquasec.com/nvd/cve-2019-14806", | ||
"Title": "python-werkzeug: insufficient debugger PIN randomness vulnerability", | ||
"Description": "Pallets Werkzeug before 0.15.3, when used with Docker, has insufficient debugger PIN randomness because Docker containers share the same machine id.", | ||
"Severity": "HIGH", | ||
"CweIDs": [ | ||
"CWE-331" | ||
], | ||
"CVSS": { | ||
"nvd": { | ||
"V2Vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N", | ||
"V3Vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", | ||
"V2Score": 5, | ||
"V3Score": 7.5 | ||
}, | ||
"redhat": { | ||
"V3Vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", | ||
"V3Score": 7.5 | ||
} | ||
}, | ||
"References": [ | ||
"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00034.html", | ||
"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00047.html", | ||
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14806", | ||
"https://github.com/pallets/werkzeug/blob/7fef41b120327d3912fbe12fb64f1951496fcf3e/src/werkzeug/debug/__init__.py#L168", | ||
"https://github.com/pallets/werkzeug/commit/00bc43b1672e662e5e3b8cecd79e67fc968fa246", | ||
"https://nvd.nist.gov/vuln/detail/CVE-2019-14806", | ||
"https://palletsprojects.com/blog/werkzeug-0-15-3-released/" | ||
], | ||
"PublishedDate": "2019-08-09T15:15:00Z", | ||
"LastModifiedDate": "2019-09-11T00:15:00Z" | ||
}, | ||
{ | ||
"VulnerabilityID": "CVE-2016-10516", | ||
"PkgName": "Werkzeug", | ||
"InstalledVersion": "0.11", | ||
"FixedVersion": "0.11.11", | ||
"Layer": { | ||
"DiffID": "sha256:6393f36bbbee0b53834ba0f9f585194d9e5ab56b555a2910551254fc8a2aec19" | ||
}, | ||
"SeveritySource": "nvd", | ||
"PrimaryURL": "https://avd.aquasec.com/nvd/cve-2016-10516", | ||
"Title": "python-werkzeug: Cross-site scripting in render_full function in debug/tbtools.py", | ||
"Description": "Cross-site scripting (XSS) vulnerability in the render_full function in debug/tbtools.py in the debugger in Pallets Werkzeug before 0.11.11 (as used in Pallets Flask and other products) allows remote attackers to inject arbitrary web script or HTML via a field that contains an exception message.", | ||
"Severity": "MEDIUM", | ||
"CweIDs": [ | ||
"CWE-79" | ||
], | ||
"CVSS": { | ||
"nvd": { | ||
"V2Vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N", | ||
"V3Vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", | ||
"V2Score": 4.3, | ||
"V3Score": 6.1 | ||
}, | ||
"redhat": { | ||
"V3Vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", | ||
"V3Score": 7.1 | ||
} | ||
}, | ||
"References": [ | ||
"http://blog.neargle.com/2016/09/21/flask-src-review-get-a-xss-from-debuger/", | ||
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10516", | ||
"https://github.com/pallets/werkzeug/pull/1001", | ||
"https://lists.debian.org/debian-lts-announce/2017/11/msg00037.html", | ||
"https://usn.ubuntu.com/usn/usn-3463-1" | ||
], | ||
"PublishedDate": "2017-10-23T16:29:00Z", | ||
"LastModifiedDate": "2018-02-04T02:29:00Z" | ||
}, | ||
{ | ||
"VulnerabilityID": "CVE-2020-28724", | ||
"PkgName": "Werkzeug", | ||
"InstalledVersion": "0.11", | ||
"FixedVersion": "0.11.6", | ||
"Layer": { | ||
"DiffID": "sha256:6393f36bbbee0b53834ba0f9f585194d9e5ab56b555a2910551254fc8a2aec19" | ||
}, | ||
"PrimaryURL": "https://avd.aquasec.com/nvd/cve-2020-28724", | ||
"Title": "Werkzeug before 0.11.6 includes an open redirect vulnerability via a double slash in the URL. See CVE-2020-28724.", | ||
"Severity": "UNKNOWN" | ||
}, | ||
{ | ||
"VulnerabilityID": "pyup.io-26435", | ||
"PkgName": "Werkzeug", | ||
"InstalledVersion": "0.11", | ||
"FixedVersion": "0.12", | ||
"Layer": { | ||
"DiffID": "sha256:6393f36bbbee0b53834ba0f9f585194d9e5ab56b555a2910551254fc8a2aec19" | ||
}, | ||
"Title": "The defaults of ``generate_password_hash`` in werkzeug 0.12 have been changed to more secure ones, see pull request ``#753``.", | ||
"Severity": "UNKNOWN" | ||
}, | ||
{ | ||
"VulnerabilityID": "pyup.io-36967", | ||
"PkgName": "Werkzeug", | ||
"InstalledVersion": "0.11", | ||
"FixedVersion": "0.15.0", | ||
"Layer": { | ||
"DiffID": "sha256:6393f36bbbee0b53834ba0f9f585194d9e5ab56b555a2910551254fc8a2aec19" | ||
}, | ||
"Title": "Werkzeug 0.15.0 refactors class:`~middleware.proxy_fix.ProxyFix` to support more headers, multiple values, and a more secure configuration.", | ||
"Severity": "UNKNOWN" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters