Skip to main content

Security flaw parser for upstream security advisories

Project description

Advisory Parser

.. image::
:alt: Travis CI test status

This library allows you to parse data from security advisories of certain
projects to extract information about security issues. The parsed
information includes metadata such as impact, CVSS score, summary,
description, and others; for a full list, see the
``advisory_parser/`` file.

**DISCLAIMER**: Much of the advisory parsing is fairly fragile. Because web
pages change all the time, it is not uncommon for parsers to break when a
page is changed in some way. Also, the advisory parsers only work with the
latest version of the advisory pages.

The need for parsing raw security advisories in this way could be avoided
if vendors provided their security pages in a machine readable (and
preferably standardized) format. An example of this would be Red Hat's
security advisories that can be pulled in from a separate Security Data API
(`example <>`_)
or downloaded as an XML file
(`example <>`_),
or OpenSSL's list of issues available in XML
(`link <>`_).

If you are a vendor or an upstream project owner interested in providing
your security advisories in a machine readable format and don't know where
to start, feel free to reach out to

Currently available parsers include:

.. csv-table::
:header: "Project", "Example URL"
:widths: 20, 80

"Google Chrome", `<>`_
"Adobe Flash", `<>`_
"Jenkins", ""
"MySQL", `<>`_
"phpMyAdmin", ""
"Wireshark", ""



pip install advisory-parser


.. code-block:: python

from pprint import pprint
from advisory_parser import Parser

url = ''
flaws, warnings = Parser.parse_from_url(url)

for flaw in flaws:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for advisory-parser, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size advisory_parser-1.3-py2.py3-none-any.whl (13.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size advisory-parser-1.3.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page