-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2015.1804
         2015-07 Security Bulletin: Junos: mbuf exhaustion due to
             sessions stuck in LAST_ACK state (CVE-2015-5358)
                                9 July 2015

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

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

Product:           Junos OS
Publisher:         Juniper Networks
Operating System:  Juniper
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-5358  

Original Bulletin: 
   http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10686

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

2015-07 Security Bulletin: Junos: mbuf exhaustion due to sessions stuck in 
LAST_ACK state (CVE-2015-5358)

[JSA10686]

PRODUCT AFFECTED:

This issue can affect any product or platform running Junos OS.

PROBLEM:

When an active TCP connection transitions to LAST_ACK state and the daemon 
connected to the socket still has more data to send, the socket could get 
stuck in LAST_ACK state indefinitely, using up finite mbufs and connections. 
Triggering this condition repeatedly could lead to total mbuf exhaustion, 
requiring a reboot or switchover of the master RE to resolve.

Exploitation of this issue requires establishment of a TCP connection to a 
listening port on the router. TCP ports protected by ingress and/or control 
plane firewall filters are not vulnerable to this issue. However, 
anti-spoofing mechanisms should be employed to protect against malicious 
attempts to bypass existing firewall filters.

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue has been assigned CVE-2015-5358.

SOLUTION:

The following software releases have been updated to resolve this specific 
issue: Junos OS 12.1X44-D50, 12.1X46-D35, 12.1X47-D25, 12.3R9, 12.3X48-D15, 
13.2R7, 13.2X51-D35, 13.2X52-D25, 13.3R6, 14.1R3-S2, 14.1R4, 14.1X53-D12, 
14.1X53-D16, 14.1X55-D25, 14.2R2, 15.1R1, and all subsequent releases.

This issue is being tracked as PR 1029758 and is visible on the Customer 
Support website.

KB16765 - "In which releases are vulnerabilities fixed?" describes which 
release vulnerabilities are fixed as per our End of Engineering and End of 
Life support policies.

WORKAROUND:

Limit the exploitable attack surface of critical infrastructure networking 
equipment. Use access lists or firewall filters to limit access to the router
via TCP only from trusted, administrative networks or hosts. Additionally, for
BGP sessions, employ anti-spoofing mechanisms such as uRPF and TTL security 
mechanisms to protect against source address spoofing.

IMPLEMENTATION:

How to obtain fixed software:

Security vulnerabilities in Junos are fixed in the next available Maintenance
Release of each supported Junos version. In some cases, a Maintenance Release
is not planned to be available in an appropriate time-frame. For these cases,
Service Releases are made available in order to be more timely. Security 
Advisory and Security Notices will indicate which Maintenance and Service 
Releases contain fixes for the issues described. Upon request to JTAC, 
customers will be provided download instructions for a Service Release. 
Although Juniper does not provide formal Release Note documentation for a 
Service Release, a list of "PRs fixed" can be provided on request.

MODIFICATION HISTORY:

2015-07-08: Initial publication

RELATED LINKS:

KB16613: Overview of the Juniper Networks SIRT Quarterly Security Bulletin 
Publication Process

KB16765: In which releases are vulnerabilities fixed?

KB16446: Common Vulnerability Scoring System (CVSS) and Juniper's Security 
Advisories

Report a Vulnerability - How to Contact the Juniper Networks Security Incident
Response Team

CVE-2015-5358: mbuf exhaustion due to sessions stuck in LAST_ACK state

CVSS SCORE:

CVSSv2: 7.1 (AV:N/AC:M/Au:N/C:N/I:N/A:C)

RISK LEVEL:

High

RISK ASSESSMENT:

Information for how Juniper Networks uses CVSS can be found at KB 16446 
"Common Vulnerability Scoring System (CVSS) and Juniper's Security 
Advisories."

ACKNOWLEDGEMENTS:

- --------------------------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:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
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

iQIVAwUBVZ3eUn6ZAP0PgtI9AQIQBxAAmIqtjyWmDTy6FV0HsGvnq+FWPPuJUvEt
H/Y6ZE+nV9RwxYv145KJQRWQduYFYSAIB9h4HF8aNiC3/4zguc2pC1+dCsmuqzle
ITuoLDqjoFwYcMoj9yaj2qVwiqPxWx/BKnhKFQRbV8k/W5flsn04RcOxFjmcP5LF
Wnz9iV+icdKXGq4bUXc/+jcF9ml7iQh0WWoW2yFHDzlJyCbZHwPRvSOeEvFNBmz2
AQcjbNv7LsYvC/WB1/FwzyQxA6rhz+a5bonkr9Pfvd8fWemeO/ASY+M6j2xiRL2l
3s/289I1D/Mw1DDu1K0zqke9FOS+Yuj21Xegp8DlOQI4lKdIXZBAbZh3Ojd6cyR9
S1UM3DpgdNZJZFlMsgSsG83GTkcvhMyfR0CRkaK4LNHEkyGp53jy5pLUbTvMeOkB
j1ipXMiDpuEGGTJ9IbKvqwNh+ZuVZtvKK6JIibawhzPfEunXTJjzdLU09N72ASbz
Rfq2B4kM8mD9vPwYqw4FwkuxEBcjam39jgxTPidRTsPaoSjlKAlRUhNSLpbT6xnP
Q95Ae/pRsQ998Zx3LfXRkz3TammydgymObnUtGxpoGE4m0/VtR4KISy8LGaVareD
iKwIChT49ozBtFiNtj9e6Ob1pmHOW8ztAJXqeQrK3sHTOPCo81Lzm2gIo3PO8GYI
teuEAX2mJ7Y=
=oGUB
-----END PGP SIGNATURE-----