__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

~C�g$���SSKrSSKrSSKJr SSKJrJrJrJr SSK	J
r
 SSKJrJ
r
Jr SSKJr SSKJr SSKJrJrJr SS	KJr SS
KJr SSKJr \"S/S
Q5r\R<"\R>S9S\4Sj5r Sr!Sr"Sr#\"S\RH\RJ\#\RLS\"\"S\RNS9/S9/S9r(g)�N)�
namedtuple)�defaults�messages�system�util)�VulnerabilityData)�CVEInfo�CVEsOptions�_cves)�#query_installed_source_pkg_versions)�cli_util)�ProArgument�ProArgumentGroup�
ProCommand)�Table)�HelpCategory)�UAConfig�AffectedPackage��name�
fix_status�
fix_origin�fix_version)�msg�cfgc�&�[[5US9$)N)�optionsr)rr
)�argsr�kwargss   �2/usr/lib/python3/dist-packages/uaclient/cli/cve.py�_get_cve_vulnerabilitiesr!s�����C�0�0�c��/n[5nURH�nURU05R5n[	U5H�nUR
RU5nU(dM'URHOn	U	RU:XdMUR[UU	RU	RU	RS95  M� M� Us $ g)Nr)
r�related_packages�get�keys�sorted�packages�cvesr�appendrrrr)
�cve_vulnerabilities�cve_info�cve_name�rows�installed_pkgs_by_source�
source_pkg�binary_pkgs�
binary_pkg�binary_pkg_info�cves
          r �_get_affected_pkgsr5s���
�D�B�D���/�/�
�.�2�2�:�r�B�G�G�I�� ��-�J�1�:�:�>�>�z�J�O���*�/�/�C��x�x�8�+����+�%/�+.�>�>�+.�>�>�,/�O�O�	���0�	.� ��'0r"c�f�/nUH�nURS:Xa]URSRUR5URSRUR5UR
/5 MpURSRUR5URSS/5 M� U$)N�fixedz{}:z({})�)rr*�formatrrr)�
affected_pkgs�formatted_rows�affected_pkgs   r �_format_affected_pkgsr=5s����N�%���"�"�g�-��!�!��L�L��!2�!2�3� �+�+��M�M�,�"9�"9�:� �,�,�	�
�
�!�!��L�L��!2�!2�3� �+�+���	�
�&�(�r"c�$	�URR5n[XS9nX4R;Ga[	U5R5RS05RS05RU5nU(d}[R"5Rn[[RRURUSR[RU5S9[R S9 g[#US[$R&"US5US	US
USUS/S
9nSnOEURUn[)[+XGUR55n	[-U	S9R/5n[SRU55 [SR[RU55 [SRUR0R3S555 [SRUR4R3S555 [SRUR6R3S555 [SR[8R:"UR<555 UR>(a$[SRUR>55 UR@(a$[SRUR@55 [S5 [SRSRC[DRF"URH[RJSSSSS9555 URL(aN[S5 URLH3n
[[DRN"U
[RJSSS S!S95 M5 U(a1[S"5 URQ5Hn[SU-5 M O[S#5 URR(a{URRVs/sH<nURT(dMS$RURVURT5PM> n
nU
(a [S%5 U
Hn[U5 M gggs snf)&N)r�security_issuesr)z{}/{})�issue�release�url)�file�description�published_at�ubuntu_priority�notes�
cvss_score�
cvss_severity)rDrE�priorityrGrHrI�related_usnsr8)r.zname:            {}zpublic-url:      {}/{}zpublished-at:    {}z%Y-%m-%dzcve-cache-date:  {}zapt-cache-date:  {}zpriority:        {}zcvss-score:      {}zcvss-severity:   {}zdescription: |z{}�
Fz  )�width�break_long_words�break_on_hyphens�initial_indent�subsequent_indentznotes:z  - z    zaffected_packages:zaffected_packages: []z  {}: {}z
related_usns:),r4�upperr!r)rr%r�get_release_inforA�printr�CLI_CVE_NOT_FOUND_IN_DATAr9r�BASE_SECURITY_URL�sys�stderrr	r�parse_rfc3339_dater=r5r�	to_stringrE�strftime�vulnerability_data_published_at�apt_updated_atr
�colorize_priorityrJrHrI�join�textwrap�wraprD�PRINT_WRAP_WIDTHrG�fill�
splitlinesrK�titler)rrrr-r+�cve_datarAr,�affected_pkgs_table�affected_pkgs_rows�note�line�usnrK�related_usns               r �
action_cvermOs����x�x�~�~��H�2�4�A���/�/�/��c�"�
�S�U�
�S�"�B�
'�
�S���_�
�S��]�	���-�-�/�7�7�G���2�2�9�9��(�(�#����x�'A�'A�8�L�:��
�Z�Z�

�
�� ��/��0�0��.�1I�J��/�0��7�#���-�"�?�3��
��!��&�+�+�H�5��2��2�d�h�h�G�
��$�);�<�F�F�H��	�
�
&�
&�x�
0�1�	� �'�'��(B�(B�H�M��
��$�$��!�!�*�*�:�6�	
��

��$�$��?�?�H�H��
�	
��
��$�$��.�.�7�7�
�C�	
��

��$�$��&�&�x�'8�'8�9�	
�����
�#�*�*�8�+>�+>�?�@����
�#�*�*�8�+A�+A�B�C�	�
��	�����I�I��
�
��(�(�"�3�3�%*�%*�#'�&*�
�	
�	
�
��~�~�
�h���N�N�D���
�
��"�3�3�%*�%*�#)�&,�
�	
�#��
�"�#�'�2�2�4�D��$��+��5�	�%�&���� �,�,�
�,���y�y�
3�J���c�h�h��	�	�2�,�	�
���/�"�+���k�"� ,����
s�R
�8*R
r4T)�help)�	arguments)rnrD�action�
help_category�preserve_description�argument_groups))rWr`�collectionsr�uaclientrrrr�+uaclient.api.u.pro.security.cves._common.v1r�#uaclient.api.u.pro.security.cves.v1r	r
r�'uaclient.api.u.pro.security.fix._commonr�uaclient.clir
�uaclient.cli.commandsrrr�uaclient.cli.formatterr�uaclient.cli.parserr�uaclient.configrr�with_spinner�CLI_CVES_SPINNER_MSGr!r5r=rm�CLI_CVE�CLI_CVE_DESC�SECURITY�
CLI_CVE_ISSUE�cve_command�r"r �<module>r�s���
��"�5�5�I�K�K��"�K�K�(�,�$���J���

���8�8�8�9�1�8�1�:�1��4�4{#�|�	�	�	�	��%�%���'�'�����!�/�/���	
�	��r"

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 13.24 KB 0644
api.cpython-313.pyc File 3.1 KB 0644
attach.cpython-313.pyc File 6.81 KB 0644
auto_attach.cpython-313.pyc File 1.59 KB 0644
cli_util.cpython-313.pyc File 13.24 KB 0644
collect_logs.cpython-313.pyc File 2.04 KB 0644
commands.cpython-313.pyc File 5.83 KB 0644
config.cpython-313.pyc File 12.27 KB 0644
cve.cpython-313.pyc File 7.8 KB 0644
cves.cpython-313.pyc File 4.75 KB 0644
detach.cpython-313.pyc File 4.43 KB 0644
disable.cpython-313.pyc File 10.9 KB 0644
enable.cpython-313.pyc File 16.79 KB 0644
fix.cpython-313.pyc File 36.75 KB 0644
formatter.cpython-313.pyc File 14.01 KB 0644
help.cpython-313.pyc File 2.07 KB 0644
parser.cpython-313.pyc File 4.9 KB 0644
refresh.cpython-313.pyc File 3.75 KB 0644
security_status.cpython-313.pyc File 2.79 KB 0644
status.cpython-313.pyc File 2.95 KB 0644
system.cpython-313.pyc File 1.56 KB 0644
Filemanager