Comments (5)
I'm seeing this also. I've checked the cache file from pyup.io (via pipenv) and the following appears in the cache.json
:
"cryptography":[
"<1.5.3",
"<0.9.1",
"<1.0.2",
">=1.9.0",
"<2.3"
],
This matches all versions of cryptography!
from safety-db.
I guess this should be:
"cryptography":[
"<1.5.3",
"<0.9.1",
"<1.0.2",
">=1.9.0,<2.3"
],
from safety-db.
This is fixed now:
safety-db/data/insecure_full.json
Lines 1050 to 1056 in a2d448c
from safety-db.
Hi, it looks like this fix results in false positives for cryptography versions <1.9.0.
╞════════════════════════════╤═══════════╤══════════════════════════╤══════════╡
│ package │ installed │ affected │ ID │
╞════════════════════════════╧═══════════╧══════════════════════════╧══════════╡
│ cryptography │ 1.8.2 │ <=2.2.2 │ 36351 │
╞══════════════════════════════════════════════════════════════════════════════╡
│ python-cryptography versions >=1.9.0 and <2.3 did not enforce a minimum tag │
│ length for finalize_with_tag API. If a user did not validate the input lengt │
│ h prior to passing it to finalize_with_tag an attacker could craft an invali │
│ d payload with a shortened tag (e.g. 1 byte) such that they would have a 1 i │
│ n 256 chance of passing the MAC check. GCM tag forgeries can cause key leaka │
│ ge. │
╘══════════════════════════════════════════════════════════════════════════════╛
1.8.2 is not vulnerable as per the full report yet it is triggering a failed check.
Do you want me to open a new issue?
from safety-db.
I'm getting the same false positive for version 1.8.2.
from safety-db.
Related Issues (20)
- sendgrid vulnerability should have lower limit HOT 1
- Documentation: what *is* a PVE? HOT 1
- Kombu, sendgrid: false positives, shouldn't safety mark sources as vulnerable? HOT 3
- Auto monthly pypi push HOT 1
- Numpy fails safety HOT 3
- Optimade v0.16.9 listed incorrectly as unsafe HOT 3
- update db more often HOT 1
- Issue with insecure django-oauth-toolkit library HOT 10
- 47833: You report that click is vulnerable, but the authors dont know about it? HOT 1
- Missing May update? HOT 1
- Wrong version identifier in vulnerabilities pyup.io-34226 & pyup.io-49495 HOT 1
- dparse v0.6.1 showing as im HOT 1
- kubernetes vulnerabilities is stale - CVE-2021-29923/45114 HOT 1
- Zulip : wrong version evaluation HOT 1
- Unable to install with Pipenv
- safetydb website given in Readme is down 404 HOT 1
- 9-month-old withdrawn CVE for aiohttp added to safety-db HOT 2
- insecure-package is no longer returned as vulnerable HOT 1
- False Positive for scrapy Vulnerability HOT 1
- Adjust vulnerable versions of Inquirer for CVE-2022-24439
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safety-db.