You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We appreciate your effort in reporting this. Our team will review it and get back to you soon.
If you have any additional details or updates, feel free to add them to this issue.
Note: If this is a serious security issue that could impact the security of Safety CLI users, please email [email protected] immediately.
desaintmartin
changed the title
Safety scan fails for PVE-2024-99889 with Unhandled exception happened: Invalid specifier: '<.0.13.4'
Safety scan fails for PVE-2024-99889 for "requests" python package with Unhandled exception happened: Invalid specifier: '<.0.13.4'
Dec 12, 2024
Thank you for reporting this issue. We identified the root cause - a syntax error in the PVE specification where we incorrectly prefixed the version number with a '.' (resulting in '<.0.13.4'). This malformed version specifier caused the parser to fail when scanning packages.
We apologize for any inconvenience this has caused. The issue has been fixed in our vulnerability database, and we'll implement additional validation checks to prevent similar semantic errors in future PVE definitions.
The fix should now be live. Please try rerunning your scan, and let us know if you encounter any further issues.
Checklist
Safety version
3.2.13
Python version
3.12.7
Operating System
macos 15
Describe the problem you'd like to have solved
Since update of PVE-2024-99889 (https://data.safetycli.com/vulnerabilities/PVE-2024-99889/65531/), it seems wrong specifier makes safety crash and prevent any scan if the python package requests is defined to be scanned.
Describe the ideal solution
Alternatives and current workarounds
No response
Additional context
No response
What I Did
Have a requirements.txt with
requests==2.32.3
then:
The text was updated successfully, but these errors were encountered: