FreeBSD Security Advisory FreeBSD-SA-19:05.pf

15/05/19, FreeBSD Security Advisory FreeBSD-SA-19:05.pf
From: FreeBSD Security Advisories <security-advisories@freebsd.org>

Generated by MHonArc

CSIM Logo WelcomeCourses
Faculty, Student, Staff
Projects and reports
Conferences, workshop and seminars
Laboratories and reasearch facilities
Information related to CSIM
Information non-related to CSIM
Address, map, phone, etc.
Search

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


To: FreeBSD Security Advisories <security-advisories@freebsd.org>
Subject: FreeBSD Security Advisory FreeBSD-SA-19:05.pf
From: FreeBSD Security Advisories <security-advisories@freebsd.org>
Date: Wed, 15 May 2019 00:01:40 +0000 (UTC)
Arc-authentication-results: i=1; mx1.freebsd.org
Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1557880817; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:list-id:list-unsubscribe:list-subscribe:list-post; bh=BahzKYYo5+O/pwbN8WFoDqcxv3/bsmu5HfrwvxWLwjM=; b=sq+bEZ2f625vWiaESpilU1EHBr501GzUvGAI85cHZb7EF1IfL2GXfuHJpbnCaTNH1mjmnR u6jbXBA0OBtDGLWrcRWqUOfCOH1R2EDz1Is1kY+Mv9locAdDU2cOA8UnsDafV70OEWP1XW rBRk0MlKt9RjJzQ5H8ZbW0GZ4T4DMKKDePcy32s5OghFmLZB1Veupq0gD+T8KYqj/HZnhJ PD0PPXF5z10pwxPxwNmxeYOIdmeFqRuOzs0VaNev+tuwA2hrOC6bN4hxOX3ts0eUFfB0LC zjCv9FRYqLseWNiZuktx6ffHgfAiWG+3QbZ3cEfPZpRbnPSwjJeKGkqnSL0/Rw==
Arc-seal: i=1; s=dkim; d=freebsd.org; t=1557880817; a=rsa-sha256; cv=none; b=Hzdv+TgqAvoISp/iNP+CC/gtftnDqSShH9iHveElIqHg/Iz9l+tz19YX9EgzcIqEoI7kyM I1NvSNeHTIi9XGR3fSxOSuGYMI6IYSP/tsqLSMU8rVCC5XXTsBpBeoWwY0ipKBLPnsnPCN XbKmiWuRuurp3F2XHGrxA2JNYsGDoaOXYWj7cL4IGr+jD23Vvy4hBIj6DCQdPBuZ2q2aMc LXys4m2n4WnqBB++r7RD+WTQTNn6ahAxKPstDedflGizvW766YcvDY6itQ6rtvgKrcafHK LLUe/ARN/qsW1rfgzys4NS1a2LRBBs0f2x6ynq/6oP/VHYnduGlmm3X/R0oU1w==
Authentication-results: mail.cs.ait.ac.th (amavisd-new); dkim=pass (2048-bit key) header.d=freebsd.org
Authentication-results: mx1.freebsd.org
Delivered-to: on@cs.ait.ac.th
Delivered-to: freebsd-security-notifications@mailman.ysv.freebsd.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1557880817; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:list-id:list-unsubscribe:list-subscribe:list-post; bh=BahzKYYo5+O/pwbN8WFoDqcxv3/bsmu5HfrwvxWLwjM=; b=ZJdOj/uGdSzf5tI4jBqk7An4pPePo/RyvGqf3hvYDmH3yv+/VDgyIf2lAty+2SgvJJckaP I7Q4dT+CGBYcsKpHLXW+XEaL+H6QmRIGAAqJR8CVK48mC9SXKBTUlKIUEfbwtgUQZR/Pg7 P14FBGAqWgF0I4i0c0hfm+RuXc/mCJzCU4s4q13oOmX0y2XhezFYf0yUmXuO9591BtLl4n 4YRTBdwQai+GrF6rmj1q0H4MI/mrcA8p14tY457XZVe/Mtt5FV2rVtPsUMa9yO2dr7jY81 9VxXu2oBxcviolL6OHVs78rds1o5e4jyBw9ciut8VKCiLcD7eN8KdssZDC8yMQ==
List-archive: <http://lists.freebsd.org/pipermail/freebsd-security-notifications/>
List-help: <mailto:freebsd-security-notifications-request@freebsd.org?subject=help>
List-id: "Moderated Security Notifications \[moderated, low volume\]" <freebsd-security-notifications.freebsd.org>
List-post: <mailto:freebsd-security-notifications@freebsd.org>
List-subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications>, <mailto:freebsd-security-notifications-request@freebsd.org?subject=subscribe>
List-unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-security-notifications>, <mailto:freebsd-security-notifications-request@freebsd.org?subject=unsubscribe>
Reply-to: freebsd-security@freebsd.org
Sender: owner-freebsd-security-notifications@freebsd.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

=============================================================================
FreeBSD-SA-19:05.pf                                         Security Advisory
                                                          The FreeBSD Project

Topic:          IPv6 fragment reassembly panic in pf(4)

Category:       contrib
Module:         pf
Announced:      2019-05-14
Credits:        Synacktiv
Affects:        All supported versions of FreeBSD
Corrected:      2019-03-01 18:12:05 UTC (stable/12, 12.0-STABLE)
                2019-05-14 23:10:21 UTC (releng/12.0, 12.0-RELEASE-p4)
                2019-03-01 18:12:07 UTC (stable/11, 11.3-PRERELEASE)
                2019-05-14 23:10:21 UTC (releng/11.2, 11.2-RELEASE-p10)
CVE Name:       CVE-2019-5597

For general information regarding FreeBSD Security Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit <URL:https://security.FreeBSD.org/>.

I.   Background

pf(4) is an Internet Protocol packet filter originally written for OpenBSD.
In addition to filtering packets, it also has packet normalization
capabilities.

II.  Problem Description

A bug in the pf(4) IPv6 fragment reassembly logic incorrectly uses the last
extension header offset from the last received packet instead of from the
first packet.

III. Impact

Malicious IPv6 packets with different IPv6 extensions could cause a kernel
panic or potentially a filtering rule bypass.

IV.  Workaround

Only systems leveraging the pf(4) firewall and include packet scrubbing using
the recommended 'scrub all in' or similar are affected.

V.   Solution

Perform one of the following:

1) Upgrade your vulnerable system to a supported FreeBSD stable or
release / security branch (releng) dated after the correction date.
Afterwards, reboot the system.

2) To update your vulnerable system via a binary patch:

Systems running a RELEASE version of FreeBSD on the i386 or amd64
platforms can be updated via the freebsd-update(8) utility:

# freebsd-update fetch
# freebsd-update install

Afterwards, reboot the system.

3) To update your vulnerable system via a source code patch:

The following patches have been verified to apply to the applicable
FreeBSD release branches.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch https://security.FreeBSD.org/patches/SA-19:05/pf.patch
# fetch https://security.FreeBSD.org/patches/SA-19:05/pf.patch.asc
# gpg --verify pf.patch.asc

b) Apply the patch.  Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch

c) Recompile your kernel as described in
<URL:https://www.FreeBSD.org/handbook/kernelconfig.html> and reboot the
system.

VI.  Correction details

The following list contains the correction revision numbers for each
affected branch.

Branch/path                                                      Revision
- -------------------------------------------------------------------------
stable/12/                                                        r344706
releng/12.0/                                                      r347591
stable/11/                                                        r344707
releng/11.2/                                                      r347591
- -------------------------------------------------------------------------

To see which files were modified by a particular revision, run the
following command, replacing NNNNNN with the revision number, on a
machine with Subversion installed:

# svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base

Or visit the following URL, replacing NNNNNN with the revision number:

<URL:https://svnweb.freebsd.org/base?view=revision&revision=NNNNNN>

VII. References

<URL:https://www.synacktiv.com/ressources/Synacktiv_OpenBSD_PacketFilter_CVE-2019-5597_ipv6_frag.pdf>

<URL:https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5597>

The latest revision of this advisory is available at
<URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-19:05.pf.asc>
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAlzbTsNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZD
MEU4NzhBRTVBRkU3ODgwMjhENjM1NUQzOTc5MkY0OUVBN0U1QzIACgkQ05eS9J6n
5cL1cxAAjYy90WBfuBkU/FddQWMJkXOn2YqABFxY/BfFpJEbGrnXXuxz9YJByK3b
6ikWq5HcxgL/9ek6QULwEOoNvms8tT4m4waJOLa3hZPoPlgD2ArgvdcEI00R/8T9
Z+k1YlT0oLOY4XbVynPGNmiFNTAcsg7Ognp9yam3kmPZTMGYm6cKIBy1idrzCCmI
nj0SscyoL4Z09kSWe3UOitjh8cpxqGuvGosCb7YGPl6yTSalBUgP44Lyg7jS4nrZ
xjZxqhAfp7tk9peF4rov8apZIsrBF5GMaahnIGIwZzmRn/E1pND9qx1lB1Uh7rfR
nb8OmwbshJTWdnS1GXyLxRGJOd0zmh+YZ10ygZAQTM5sNaxfn6pWJFmr2S/mR+kN
RG/Bhj+lN7jh1eUNdwk/pAm0aZZ+J8GX4/QOrqPfGDko/s/S7YwJB/DKR/14uPY7
Fwcgv4tvgoRstSKHdIe45d7/N0SgQCS/EfzVIO5XPQtkrk9/zalQubionijObr1Q
ARVl7H5M7m7kP8PJz/vRNvhar0c0xTk9ov2JDxKHKTd+7D78LQEAFvEGPIFREBsY
VBW8BqZbuVcsgrhr/YWFE3TEw4O0YbnY5g9wmVv+d/pdDngLuTsfbNEsAQewWcu/
dYefeBMKBukyLUKtLYHjVAhUlL3hF3j/aBu498F6LRCzFcaoIOQ=
=0alQ
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-security-notifications@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications
To unsubscribe, send any mail to "freebsd-security-notifications-unsubscribe@freebsd.org"


Previous message sorted by date: FreeBSD Security Advisory FreeBSD-SA-19:03.wpa
Next message sorted by date: FreeBSD Security Advisory FreeBSD-SA-19:04.ntp
Previous message sorted by thread: FreeBSD Security Advisory FreeBSD-SA-19:03.wpa
Next message by thread: FreeBSD Security Advisory FreeBSD-SA-19:04.ntp
Main Index
Thread Index

CSIM home pageWMailAccount managementCSIM LibraryNetwork test toolsSearch CSIM directories
Contact us: Olivier Nicole CSIM    SET    AIT Last update: May 2019