{% extends "base.html" %} {% load humanize %} {% load widget_tweaks %} {% load static %} {% load url_filters %} {% block title %} VulnerableCode Package Details - {{ package.purl }} {% endblock %} {% block content %}
{% include "package_search_box.html"%}
{% if package %}
Package details: {{ package.purl }}
{% if affected_by_vulnerabilities|length != 0 %}
{% else %}
{% endif %} {% if package.is_ghost %} {% endif %}
purl {{ fixed_package_details.purl.to_string }}
Tags Ghost
{% if affected_by_vulnerabilities|length != 0 %}
Next non-vulnerable version {% if fixed_package_details.next_non_vulnerable.version %} {{ fixed_package_details.next_non_vulnerable.version }} {% else %} None. {% endif %}
Latest non-vulnerable version {% if fixed_package_details.latest_non_vulnerable.version %} {{ fixed_package_details.latest_non_vulnerable.version }} {% else %} None. {% endif %}
Risk {% if package.risk_score %} {{ package.risk_score }} {% endif %}
{% endif %}
Vulnerabilities affecting this package ({{ affected_by_vulnerabilities|length }})
{% for vulnerability in affected_by_vulnerabilities %} {% empty %} {% endfor %}
Vulnerability Summary Fixed by
{{vulnerability.vulnerability_id }}
Aliases:
{% for alias in vulnerability.alias %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %}
{{ vulnerability.summary }} {% if package.purl == fixed_package_details.purl.to_string %} {% for key, value in fixed_package_details.items %} {% if key == "vulnerabilities" %} {% for vuln in value %} {% if vuln.vulnerability.vulnerability_id == vulnerability.vulnerability_id %} {% if vuln.fixed_by_package_details is None %} There are no reported fixed by versions. {% else %} {% for fixed_pkg in vuln.fixed_by_package_details %}
{% if fixed_pkg.fixed_by_purl_vulnerabilities|length == 0 %} {{ fixed_pkg.fixed_by_purl.version }}
Affected by 0 other vulnerabilities. {% else %} {{ fixed_pkg.fixed_by_purl.version }} {% if fixed_pkg.fixed_by_purl_vulnerabilities|length != 1 %}
Affected by {{ fixed_pkg.fixed_by_purl_vulnerabilities|length }} other vulnerabilities. {% else %}
Affected by {{ fixed_pkg.fixed_by_purl_vulnerabilities|length }} other vulnerability. {% endif %} {% endif %}
{% endfor %} {% endif %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %}
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package ({{ fixing_vulnerabilities|length }})
{% for vulnerability in fixing_vulnerabilities %} {% empty %} {% endfor %}
Vulnerability Summary Aliases
{{ vulnerability.vulnerability_id }} {{ vulnerability.summary }} {% for alias in vulnerability.alias %} {% if alias.url %} {{ alias }}
{% else %} {{ alias }}
{% endif %} {% endfor %}
This package is not known to fix vulnerabilities.

{% for log in history %} {% endfor %}
Date Actor Action Vulnerability Source VulnerableCode Version
{{ log.get_iso_time }} {{ log.actor_name }} {{ log.get_action_type_label }} {{ log.related_vulnerability }} {{log.source_url }} {{ log.software_version }}
{% endif %} {% endblock %}