osv reports pyyaml needs upgrade when it is already upgraded
See original GitHub issueHello, I can’t tell is this is because osv is corrupt and y’all can’t do anything about it or if pip-audit can’t do version number comparisons. I’m still learning, but I can’t find a way to skip this.
It only takes one unresolvable false positive and I have to disable a tool like this from the build server. safety
has a --ignore
switch, does pip-audit
have one?
$ pip-audit -s osv
Found 1 known vulnerabilities in 1 packages
Name Version ID Fix Versions
------ ------- -------------- ------------
pyyaml 5.4.1 PYSEC-2021-142 5.4
$ pip freeze | grep PyY
PyYAML==5.4.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (12 by maintainers)
Top Results From Across the Web
False Positive for Patched pyyaml From osv Source #69 - GitHub
This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an ......
Read more >How to upgrade disutils package PyYAML? - Stack Overflow
Try using the --ignore-installed flag: sudo -H pip3 install --ignore-installed PyYAML. This works because to upgrade a package, pip first ...
Read more >Improper Input Validation in PyYAML - Vulners
A vulnerability was discovered in the PyYAML library in versions before 5.3.1, where it is susceptible to arbitrary code execution when it processes ......
Read more >PyYAML is a YAML parser and emitter for Python.
A simple extension API is provided. both pure-Python and fast LibYAML-based parsers and emitters. relatively sensible error messages. Requirements. PyYAML ...
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@matthewdeanmartin FYI, this should be fixed by https://github.com/google/osv/pull/273/.
I had the same reaction, and then I remembered I gave a sneak peek of
pip-audit
in my PackagingCon talk: https://www.youtube.com/watch?v=PlGcg-MUtXk