{% extends "base.html" %} {% load humanize %} {% load widget_tweaks %} {% load static %} {% load url_filters %} {% load utils %} {% block title %} VulnerableCode Package Details - {{ package.purl }} {% endblock %} {% block content %}
{% include "package_search_box_v2.html"%}
{% if package %}
Package details: {{ package.purl }}
{% if affected_by_advisories_v2|length != 0 or affected_by_advisories_v2_url %}
{% else %}
{% endif %} {% if package.is_ghost %} {% endif %}
purl {{ package.purl }}
Tags Ghost
{% if affected_by_advisories_v2|length != 0 or affected_by_advisories_v2_url %}
Next non-vulnerable version {% if next_non_vulnerable.version %} {{ next_non_vulnerable.version }} {% else %} None. {% endif %}
Latest non-vulnerable version {% if latest_non_vulnerable.version %} {{ latest_non_vulnerable.version }} {% else %} None. {% endif %}
Risk score {% if package.risk_score is not None %} {{package.risk_score}} {% else %} {{""}} {% endif %}
{% endif %}
{% if affected_by_advisories_v2|length != 0 %}
Vulnerabilities affecting this package ({{ affected_by_advisories_v2|length }})
{% if grouped %} {% for advisory in affected_by_advisories_v2 %} {% empty %} {% endfor %} {% else %} {% for advisory in affected_by_advisories_v2 %} {% empty %} {% endfor %} {% endif %}
Advisory Summary Fixed in package version
{{advisory.identifier }}
{% if advisory.aliases|length != 0 %} Aliases: {% endif %}
{% for alias in advisory.aliases %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %}
{{ advisory.advisory.summary|truncatewords:20 }} {% with fixed=fixed_package_details|get_item:advisory.advisory.avid %} {% if fixed %} {% for item in fixed %}
{{ item.pkg.version }}
{% if item.pkg.is_vulnerable %} Vulnerable {% else %} Not vulnerable {% endif %}
{% endfor %} {% else %} There are no reported fixed by versions. {% endif %} {% endwith %}
This package is not known to be subject of any advisories.
{{advisory.advisory_id }}
{% if advisory.advisory.aliases.all|length != 0 %} Aliases: {% endif %}
{% for alias in advisory.advisory.aliases.all %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %}
{{ advisory.advisory.summary|truncatewords:20 }} {% with fixed=fixed_package_details|get_item:advisory.advisory.avid %} {% if fixed %} {% for item in fixed %}
{{ item.pkg.version }}
{% if item.pkg.is_vulnerable %} Vulnerable {% else %} Not vulnerable {% endif %}
{% endfor %} {% else %} There are no reported fixed by versions. {% endif %} {% endwith %}
This package is not known to be subject of any advisories.
{% elif affected_by_advisories_v2_url %}
This package is subject to more than 100 advisories. Please refer to the following URL for vulnerabilities affecting this package: Advisories
{% else %}
This package is not known to be subject of any advisories.
{% endif %}
{% if fixing_advisories_v2|length != 0 %}
Vulnerabilities fixed by this package ({{ fixing_advisories_v2|length }})
{% if grouped %} {% for advisory in fixing_advisories_v2 %} {% empty %} {% endfor %} {% else %} {% for advisory in fixing_advisories_v2 %} {% empty %} {% endfor %}
Advisory Summary Aliases
{{advisory.identifier }}
{{ advisory.advisory.summary|truncatewords:20 }} {% for alias in advisory.aliases %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %}
This package is not known to fix any advisories.
{{advisory.advisory_id }}
{{ advisory.advisory.summary|truncatewords:20 }} {% for alias in advisory.advisory.aliases.all %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %}
This package is not known to fix any advisories.
{% endif %}
{% elif fixing_advisories_v2_url %}
This package is known to fix more than 100 advisories. Please refer to the following URL for vulnerabilities fixed by this package: Advisories
{% else %}
This package is not known to fix any advisories.
{% endif %}
{% endif %} {% endblock %}