{% 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 %}
{% else %}
{% endif %} {% if package.is_ghost %} {% endif %}
purl {{ package.purl }}
Tags Ghost
{% if affected_by_advisories_v2|length != 0 %}
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 {{package.risk_score}}
{% endif %}
Vulnerabilities affecting this package ({{ affected_by_advisories_v2|length }})
{% for advisory in affected_by_advisories_v2 %} {% empty %} {% endfor %}
Advisory Source Date Published Summary Fixed in package version
{{advisory.primary.avid }}
{% if advisory.primary.alias|length != 0 %} Aliases: {% endif %}
{% for alias in advisory.primary.alias %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %} {% if advisory.secondary|length != 0 %}

Supporting advisories are listed below the primary advisory.

{% for secondary in advisory.secondary %} {{secondary.avid }} {% endfor %} {% endif %}
{{advisory.primary.url}} {{advisory.primary.date_published}} {{ advisory.primary.summary }} {% with fixed=fixed_package_details|get_item:advisory.primary.avid %} {% if fixed %} {% for item in fixed %}
{{ item.pkg.version }}
Subject of {{ item.affected_count }} other advisories.
{% endfor %} {% else %} There are no reported fixed by versions. {% endif %} {% endwith %}
This package is not known to be subject of any advisories.
Vulnerabilities fixed by this package ({{ fixing_advisories_v2|length }})
{% for advisory in fixing_advisories_v2 %} {% empty %} {% endfor %}
Advisory Source Date Published Summary Aliases
{{advisory.primary.avid }}
{% if advisory.secondary|length != 0 %}

Supporting advisories are listed below the primary advisory.

{% for secondary in advisory.secondary %} {{secondary.avid }} {% endfor %} {% endif %}
{{advisory.primary.url}} {{advisory.primary.date_published}} {{ advisory.primary.summary }} {% for alias in advisory.primary.alias %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %}
This package is not known to fix any advisories.

{% endif %} {% endblock %}