-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.1436
                K08827426: Vim vulnerability CVE-2022-0359
                               5 April 2022

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           BIG-IP (all modules)
                   BIG-IQ Centralized Management
                   F5OS-A
                   F5OS-C
                   Traffix SDC
Publisher:         F5 Networks
Operating System:  Network Appliance
Resolution:        Mitigation
CVE Names:         CVE-2022-0359  

Original Bulletin: 
   https://support.f5.com/csp/article/K08827426

Comment: Comments:
         CVSS (Max):  7.8 CVE-2022-0359 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
         CVSS Source: F5 Networks
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

- --------------------------BEGIN INCLUDED TEXT--------------------

K08827426: Vim vulnerability CVE-2022-0359

Original Publication Date: 05 Apr, 2022

Security Advisory Description

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2. (
CVE-2022-0359)

Impact

This vulnerability allows an attacker to input a specially crafted file,
leading to arbitrary execution of code or potentially causing services to stop
responding.

Security Advisory Status

F5 Product Development has assigned ID 1089921 (BIG-IP), ID 1089921-7 (BIG-IQ),
ID 1093681 (F5OS), SDC-1797, and SDC-1798 (Traffix SDC) to this vulnerability.

To determine if your product and version have been evaluated for this
vulnerability, refer to the Applies to (see versions) box. To determine if your
release is known to be vulnerable, the components or features that are affected
by the vulnerability, and for information about releases, point releases, or
hotfixes that address the vulnerability, refer to the following table. For more
information about security advisory versioning, refer to K51812227:
Understanding security advisory versioning.

Note: After a fix is introduced for a given minor branch, that fix applies to
all subsequent maintenance and point releases for that branch, and no
additional fixes for that branch will be listed in the table. For example, when
a fix is introduced in 14.1.2.3, the fix also applies to 14.1.2.4, and all
later 14.1.x releases (14.1.3.x., 14.1.4.x). For more information, refer to
K51812227: Understanding security advisory versioning. Additionally, software
versions preceding those listed in the Applies to (see versions) box of this
article have reached the End of Technical Support (EoTS) phase of their
lifecycle and are no longer evaluated for security issues. For more
information, refer to the Security hotfixes section of K4602: Overview of the
F5 security vulnerability response policy.

+-------------+------+--------------+----------+--------+------+--------------+
|             |      |Versions known|Fixes     |        |CVSSv3|Vulnerable    |
|Product      |Branch|to be         |introduced|Severity|score^|component or  |
|             |      |vulnerable^1  |in        |        |2     |feature       |
+-------------+------+--------------+----------+--------+------+--------------+
|             |16.x  |16.1.0 -      |None      |        |      |              |
|             |      |16.1.2        |          |        |      |              |
|             +------+--------------+----------+        |      |              |
|             |15.x  |15.1.0 -      |None      |        |      |              |
|             |      |15.1.5        |          |        |      |              |
|             +------+--------------+----------+        |      |              |
|             |14.x  |14.1.0 -      |None      |        |      |              |
|BIG-IP (all  |      |14.1.4        |          |        |      |              |
|modules)     +------+--------------+----------+Medium  |6.5   |Vim editor    |
|             |13.x  |13.1.0 -      |None      |        |      |              |
|             |      |13.1.4        |          |        |      |              |
|             +------+--------------+----------+        |      |              |
|             |12.x  |12.1.0 -      |None      |        |      |              |
|             |      |12.1.6        |          |        |      |              |
|             +------+--------------+----------+        |      |              |
|             |11.x  |11.6.1 -      |None      |        |      |              |
|             |      |11.6.5        |          |        |      |              |
+-------------+------+--------------+----------+--------+------+--------------+
|BIG-IQ       |8.x   |8.0.0 - 8.1.0 |None      |        |      |              |
|Centralized  +------+--------------+----------+Medium  |6.5   |Vim editor    |
|Management   |7.x   |7.0.0 - 7.1.0 |None      |        |      |              |
+-------------+------+--------------+----------+--------+------+--------------+
|F5OS-A       |1.x   |1.0.0 - 1.0.1 |None      |Medium  |6.7   |Vim editor    |
+-------------+------+--------------+----------+--------+------+--------------+
|             |      |1.3.0 - 1.3.1 |          |        |      |              |
|F5OS-C       |1.x   |1.2.0 - 1.2.2 |None      |Medium  |6.7   |Vim editor    |
|             |      |1.1.0 - 1.1.4 |          |        |      |              |
+-------------+------+--------------+----------+--------+------+--------------+
|Traffix SDC  |5.x   |5.2.0         |None      |High    |7.8   |Vim editor    |
|             |      |5.1.0         |          |        |      |              |
+-------------+------+--------------+----------+--------+------+--------------+

^1F5 evaluates only software versions that have not yet reached the End of
Technical Support (EoTS) phase of their lifecycle.

^2The CVSSv3 score link takes you to a resource outside of AskF5, and it is
possible that the document may be removed without our knowledge.

Recommended Actions

If you are running a version listed in the Versions known to be vulnerable
column, you can eliminate this vulnerability by installing a version listed in
the Fixes introduced in column. If the Fixes introduced in column does not list
a version for your branch, then no update candidate currently exists for that
branch and F5 recommends upgrading to a version with the fix (refer to the
table).

If the Fixes introduced in column lists a version prior to the one you are
running, in the same branch, then your version should have the fix.

Mitigation

To mitigate this vulnerability, you should permit management access to F5
products only over a secure network and restrict command line access to trusted
users. Additionally, you should avoid the use of untrusted Vim scripts using
the Vim -s {scriptin} command line option. For more information, refer to the
Vim manual page or to the -s {scriptin} reference at vimhelp.org.

Note: This link takes you to a resource outside of AskF5. The third party could
remove the document without our knowledge.

For more information about restricting access to BIG-IP and BIG-IQ systems,
refer to the following section.

BIG-IP and BIG-IQ systems

Until it is possible to install a fixed version, you can use the following
sections as temporary mitigations. These mitigations restrict access to the
BIG-IP or BIG-IQ command line through SSH to only trusted networks or devices,
thereby limiting the attack surface.

  o Block SSH access through self IP addresses
  o Block SSH access through the management interface

Block SSH access through self IP addresses

You can block all access to the command line through SSH of your BIG-IP or
BIG-IQ system using self IP addresses. To do so, you can change the Port
Lockdown setting to Allow None for each self IP address on the system. If you
must open any ports, you should use the Allow Custom option, taking care to
block access to SSH. By default, the SSH service listens on TCP port 22.

Note: Performing this action prevents all access to SSH using the self IP
address. These changes may also impact other services.

Before you make changes to the configuration of your self IP addresses, F5
strongly recommends that you refer to the following articles:

  o K17333: Overview of port lockdown behavior (12.x - 16.x)
  o K39403510: Managing the port lockdown configuration on the BIG-IQ system
  o K13092: Overview of securing access to the BIG-IP system

If you must expose port 22 on your self IP addresses and want to restrict
access to specific IP ranges, you may consider using the packet filtering
functionality built into the BIG-IP system. For more information, refer to the
following article:

  o K13383: Configuring CIDR Network Addresses for the BIG-IP packet filter

For BIG-IQ self IP addresses where port 443 is exposed, use an external packet
filtering device such as BIG-IP AFM.

Block SSH access through the management interface

To mitigate this vulnerability for affected F5 products, you should restrict
management access to only trusted users and devices to F5 products over a
secure network. For more information about securing access to BIG-IP and BIG-IQ
systems, refer to the following articles:

  o K13092: Overview of securing access to the BIG-IP system
  o K46122561: Restricting access to the BIG-IP management interface using
    network firewall rules
  o K92748202: Restricting access to the BIG-IQ management interface using
    network firewall rules

Note: For BIG-IQ 7.x, secure the management interface by using an external
packet filtering device such as BIG-IP AFM.

Supplemental Information

o K41942608: Overview of security advisory articles
  o K4602: Overview of the F5 security vulnerability response policy
  o K4918: Overview of the F5 critical issue hotfix policy
  o K8986: F5 software lifecycle policy
  o K9970: Subscribing to email notifications regarding F5 products
  o K9957: Creating a custom RSS feed to view new and updated documents

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYkuedeNLKJtyKPYoAQidiQ//S7vG2eu+bW7m+HYa3Ckf2wKsbZDSospr
uqOsMt0yE7D/CQ3wTf98cnNmpMc1jSPF/GJ13HDX/rHdh3fX6KH9atq3/tAWpM6P
jwUV1hQvnUc1dIJZPbRB4fU2zTkNzElOVv99/ecgDeeD0e6YoyiNfhvbosVofKLG
6OtLKdlmHWCq5wqxAssIx4m1MGfa5qG+/BjADNpqdrAmdoillHhGHosjJAGN8zRQ
+G+iL+LYoMZh6z/2bESFPIPNHp3qLZ3pr6FQFVkYmVuADf3PuEkUG3VwIOR4TuDj
Ui4YHxZVt0nPYxBpxTw2pRDghgIffG63TDX4bj5BAJU2xqbthYSNtrlKIdT0o0tp
3VNSrxwFpvSXpP6KUAsd9M7edI8KQq1kGTYCIzfy8DzIjK1R24P3Aobk1LX8stzC
W9gV+LKkdur75gACpaz8cWmew5pNQKKk5/fXn++yHEaoL27DHYRoc/tH5PdTiQHX
OTi0EbNN4EGnLtTI+z4SKipI84ZnC15jmO/v9M/qNkpecibF3Jd7QMZIQ8GcNzMu
LNDC5yshyuaa0a3iOdU8MVWoo+/uaJr/dIJC+tqxiT0CBd9VBXUG7Ya3P6j61qOZ
CZHynHbvbt1kAHIZe8KKk9iFtSvLztz3njk/E6YPpAuV08iVoNTWkir2lS/zqyt9
+PXhxL9vXw8=
=lcOc
-----END PGP SIGNATURE-----