Giter Site home page Giter Site logo

danbeard / libscanner Goto Github PK

View Code? Open in Web Editor NEW
22.0 9.0 27.0 37 KB

RPM/SWID vulnerability scanner

Home Page: http://devicevulnerabilitychecker.com

License: GNU General Public License v3.0

HTML 28.59% Python 70.35% Shell 1.06%
rpm yocto swid nvd cve cve-scanning

libscanner's People

Contributors

danbeard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libscanner's Issues

Attribute "prev" (= previous versions affected too) ignored in nvdcve.xml

If a vulnerability impacts not only one software version but all previous ones, cli.py doesn't check if our software version is impacted.

Example:
Run a vulnerability check (cli.py), on a packages list containing linux-4.11.4 or below.

Expected behavior: vulnerability CVE-2017-1000364 is listed on the output (affects linux-4.11.5 and previous versions)

Observed behavior: no vulnerability found.

The flag "and all previous versions" is given through the "prev" XML attribute, in element "vers":

  <entry type="CVE" name="CVE-2017-1000364" seq="2017-1000364" published="2017-06-19" modified="2018-01-04" severity="Medium" CVSS_version="2.0" CVSS_score="6.2" CVSS_base_score="6.2" CVSS_impact_subscore="10.0" CVSS_exploit_subscore="1.9" CVSS_vector="(AV:L/AC:H/Au:N/C:C/I:C/A:C)">
    <vuln_soft>
      <prod name="linux_kernel" vendor="linux">
        <vers num="4.11.5" prev="1"/>
      </prod>
    </vuln_soft>
  </entry>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.