<commit_before>Subject: [{{ advisory.id }}] {{ package.pkgname }}: {{ advisory.advisory_type }}

{% set asa_title = 'Arch Linux Security Advisory ' + advisory.id %}
{{- asa_title }}
{% set asa_title_separator = '=' * asa_title|length %}
{{- asa_title_separator }}

Severity: {{ group.severity }}
Date    : {{ advisory.created.strftime('%Y-%m-%d') }}
CVE-ID  : {{ issues_listing_formatted }}
Package : {{ package.pkgname }}
Type    : {{ advisory.advisory_type }}
Remote  : {%if not remote %}No{% else %}Yes{% endif %}
Link    : {{ link }}

Summary
=======

{% macro summary() -%}
The package {{ package.pkgname }} before version {{ group.fixed }} is vulnerable to {{ advisory.advisory_type}}
{%- if unique_issue_types|length > 1 %} including{%- raw %} {% endraw %}
	{%- for issue_type in unique_issue_types %}
		{{- issue_type }}
		{%- if not loop.last %}
			{%- if loop.revindex > 2 %}, {% else %} and {% endif %}
		{%- endif %}
	{%- endfor %}
{%- endif %}.
{%- endmacro %}
{{- summary()|wordwrap(71) }}

Resolution
==========

Upgrade to {{ group.fixed }}.

# pacman -Syu "{{ package.pkgname }}>={{ group.fixed }}"

The problem{% if issues|length > 1 %}s have{% else %} has{% endif %} been fixed upstream
{%- if upstream_released %} in version {{ upstream_version }}
{%- else %} but no release is available yet
{%- endif %}.

Workaround
==========

None.

Description
===========

{% for issue in issues %}
{%- if issues|length > 1 %}- {{issue.id}} ({{ issue.issue_type }})

{% endif %}
{%- set splitted = issue.description.split('\n') %}
{%- for line in splitted %}
	{{- line|wordwrap(71) }}
	{%- if not loop.last %}
{% endif %}
{%- endfor %}
{%- if not loop.last %}

{% endif %}
{%- endfor %}

Impact
======

{{ impact }}

References
==========

{% for reference in references %}
{{- reference|urlize }}
{% endfor %}
{%- for issue in issues %}https://access.redhat.com/security/cve/{{ issue.id }}
{% endfor %}<commit_msg>advisory: don't urlize in the raw txt format<commit_after>Subject: [{{ advisory.id }}] {{ package.pkgname }}: {{ advisory.advisory_type }}

{% set asa_title = 'Arch Linux Security Advisory ' + advisory.id %}
{{- asa_title }}
{% set asa_title_separator = '=' * asa_title|length %}
{{- asa_title_separator }}

Severity: {{ group.severity }}
Date    : {{ advisory.created.strftime('%Y-%m-%d') }}
CVE-ID  : {{ issues_listing_formatted }}
Package : {{ package.pkgname }}
Type    : {{ advisory.advisory_type }}
Remote  : {%if not remote %}No{% else %}Yes{% endif %}
Link    : {{ link }}

Summary
=======

{% macro summary() -%}
The package {{ package.pkgname }} before version {{ group.fixed }} is vulnerable to {{ advisory.advisory_type}}
{%- if unique_issue_types|length > 1 %} including{%- raw %} {% endraw %}
	{%- for issue_type in unique_issue_types %}
		{{- issue_type }}
		{%- if not loop.last %}
			{%- if loop.revindex > 2 %}, {% else %} and {% endif %}
		{%- endif %}
	{%- endfor %}
{%- endif %}.
{%- endmacro %}
{{- summary()|wordwrap(71) }}

Resolution
==========

Upgrade to {{ group.fixed }}.

# pacman -Syu "{{ package.pkgname }}>={{ group.fixed }}"

The problem{% if issues|length > 1 %}s have{% else %} has{% endif %} been fixed upstream
{%- if upstream_released %} in version {{ upstream_version }}
{%- else %} but no release is available yet
{%- endif %}.

Workaround
==========

None.

Description
===========

{% for issue in issues %}
{%- if issues|length > 1 %}- {{issue.id}} ({{ issue.issue_type }})

{% endif %}
{%- set splitted = issue.description.split('\n') %}
{%- for line in splitted %}
	{{- line|wordwrap(71) }}
	{%- if not loop.last %}
{% endif %}
{%- endfor %}
{%- if not loop.last %}

{% endif %}
{%- endfor %}

Impact
======

{{ impact }}

References
==========

{% for reference in references %}
{{- reference }}
{% endfor %}
{%- for issue in issues %}https://access.redhat.com/security/cve/{{ issue.id }}
{% endfor %}
{'fraction_non_alphanumeric': 0.23011363636363635, 'fraction_numerical': 0.004132231404958678, 'mean_word_length': 3.769704433497537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '632766', 'n_tokens_mistral': 1511, 'n_tokens_neox': 1270, 'n_words': 317}