question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

`safety` requires `crypography>=39.0.0` which hasn't been released yet

See original GitHub issue
  • safety version: 1.10.3
  • Python version: 3.10.2
  • Operating System: MacOS 11.7

Description

Hello šŸ‘‹

safety currently requires cryptography>=39.0.0 for its checks to pass (see screenshot), citing the below reason, with ID 51159:

Cryptography 39.0.0 drops support for C library ā€œLibreSSLā€ < 3.4, as these versions are not receiving security support anymore.

However, it looks like version 39.0.0 of cryptography is under development and hasnā€™t been released yet.

As far as I can see, the only way around this for now is to ask safety to ignore its check on cryptography.

Thereā€™s a comment on commit https://github.com/pyupio/safety-db/commit/e582a03665fde14b58dd247b5d33aa4c0f0832e5 about it here.

Thanks šŸ™

image

What I Did

Ran the following:

safety check --full-report --file=requirements.txt

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
alexcommented, Oct 3, 2022

Hi, Iā€™m one of the pyca/cryptography primary maintainers.

This isnā€™t a security issue in pyca/cryptography in the first instance. Itā€™s removing support for interoperating with older LibresSSL versions. To a certain extent using old unsupported libressl is a security issue, but thatā€™s fixed by upgrading libressl, not by upgrading cryptography.

Iā€™d strongly encourage the safety maintainers to consult with the pyca/cryptography maintainers when creating vulnerability reports for us. We always request CVEs when fixing vulnerabilities.

4reactions
yeisonvargasfcommented, Oct 3, 2022

Hi everyone. For now, we have decided to remove the vulnerability and update our databases to reflect this. Even though this vulnerability is valid for a subset of users, given that the maintainers report that the vast majority of users are unaffected we can remove it for now. Thanks for bringing this up, and for everyoneā€™s patience. Our security team will look at this again soon; if we consider it worth publishing, we will first contact maintainers to discuss it before sending it to the public. (Iā€™m closing this thread too)

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found