Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHEA-2019:0178 - Product Enhancement Advisory
Issued:
2019-01-29
Updated:
2019-01-29

RHEA-2019:0178 - Product Enhancement Advisory

  • Overview
  • Updated Packages

Synopsis

libreswan bug fix and enhancement update

Type/Severity

Product Enhancement Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated libreswan packages that fix several bugs and add one enhancement are now available for Red Hat Enterprise Linux 7.

Description

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

This update fixes the following bugs:

  • While running in FIPS mode, Libreswan incorrectly checked the length of X.509 public keys as if it is in bytes. Consequently, 3072-bit keys were incorrectly detected as 384-bit and rejected. With this update, the check has been fixed to count with bits instead of bytes, and the keys are no longer incorrectly rejected in the described scenario. (BZ#1665369)
  • Prior to this update, Libreswan could use deleted objects while printing errors and it also did not properly fail when the AES key size was less than 128 bits. As a consequence, the pluto daemon crashed on assertion failed when the IPsec initiator sent "OAKLEY_KEY_LENGTH == 0 (0x00)" for the AES_CBC encryption algorithm. The error printing has been simplified and the AES key size check has been added to an earlier phase. As a result, Libreswan now correctly handles the described scenario. (BZ#1660536)
  • Previously, Libreswan continued to process an IKEv1 packet after it had already processed a delete payload. Consequently, Libreswan had deleted the IKE session state, then tried to read the next payload from that deleted state and crashed. The handling of such packets has been fixed, and Libreswan now correctly stops processing payloads once it processes a delete payload. (BZ#1660542)
  • Prior to this update, the recursive include function was not implemented correctly. As a consequence, the "systemctl start ipsec" command hanged and the addconn process used 100 % CPU resources when a recursive include was used in IPsec configuration files. The include processing has been fixed, and recursive includes now work properly. (BZ#1660544)
  • Previously, Libreswan incorrectly passed the zero-length IKEv1 XAUTH password as NULL to the crypt() function. Consequently, Libreswan crashed with the "strncpy(): /usr/libexec/ipsec/pluto killed by 11" message. This has been fixed, and Libreswan now processes IKEv1 empty passwords correctly. (BZ#1664244)

In addition, this update adds the following enhancement:

  • With this update, Libreswan uses the recently-added IPsec profiles functionality in the NSS library to validate certificates. This uses the certificate's validation for IKE specification of RFC 4945. Prior to this, Extended Key Usage (EKU) attributes were interpreted as TLS instead of IPsec profiles by the NSS library. As a result, Libreswan now accepts validation of X.509 certificates containing non-empty EKU attributes that does not contain serverAuth and clientAuth attributes. (BZ#1655440)

Users of libreswan are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

Affected Products

  • Red Hat Enterprise Linux Server 7 x86_64
  • Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.6 x86_64
  • Red Hat Enterprise Linux Server - AUS 7.6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 7 x86_64
  • Red Hat Enterprise Linux Workstation 7 x86_64
  • Red Hat Enterprise Linux Desktop 7 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 7 s390x
  • Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.6 s390x
  • Red Hat Enterprise Linux for Power, big endian 7 ppc64
  • Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.6 ppc64
  • Red Hat Enterprise Linux for Power, little endian 7 ppc64le
  • Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.6 ppc64le
  • Red Hat Enterprise Linux Server - TUS 7.6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7 s390x
  • Red Hat Enterprise Linux for ARM 64 7 aarch64
  • Red Hat Enterprise Linux for Power 9 7 ppc64le
  • Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 7.6 ppc64le
  • Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 7.6 x86_64
  • Red Hat Enterprise Linux for IBM System z (Structure A) 7 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7 ppc64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7 ppc64le

Fixes

  • BZ - 1664244 - [abrt] [faf] libreswan: strncpy(): /usr/libexec/ipsec/pluto killed by 11 [rhel-7.6.z]
  • BZ - 1665369 - libreswan 3.25 in FIPS mode is incorrectly rejecting X.509 public keys that are >= 3072 bits [rhel-7.6.z]

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux for x86_64 - Extended Update Support 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux Server - AUS 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux Server - Extended Life Cycle Support 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux Workstation 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux Desktop 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux for IBM z Systems 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
s390x
libreswan-3.25-4.1.el7_6.s390x.rpm SHA-256: 7a37de1d6f48a0ff708c0ddd022f1013a3d02623a55748e9f9a5c9ed84ed1332
libreswan-debuginfo-3.25-4.1.el7_6.s390x.rpm SHA-256: a5879aa91b102dba94e8cb6153d3e8cfb2c6de48fcb667b350abd31eef4f9d90

Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
s390x
libreswan-3.25-4.1.el7_6.s390x.rpm SHA-256: 7a37de1d6f48a0ff708c0ddd022f1013a3d02623a55748e9f9a5c9ed84ed1332
libreswan-debuginfo-3.25-4.1.el7_6.s390x.rpm SHA-256: a5879aa91b102dba94e8cb6153d3e8cfb2c6de48fcb667b350abd31eef4f9d90

Red Hat Enterprise Linux for Power, big endian 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64
libreswan-3.25-4.1.el7_6.ppc64.rpm SHA-256: 7fb609a0612b4ac9726f525fe784222a869340ec62dada1278edbfc8974879e4
libreswan-debuginfo-3.25-4.1.el7_6.ppc64.rpm SHA-256: b862fa14574137cd1928c2ea0887de8d23bae700a4be4c7051504aadfa408ccc

Red Hat Enterprise Linux for Power, big endian - Extended Update Support 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64
libreswan-3.25-4.1.el7_6.ppc64.rpm SHA-256: 7fb609a0612b4ac9726f525fe784222a869340ec62dada1278edbfc8974879e4
libreswan-debuginfo-3.25-4.1.el7_6.ppc64.rpm SHA-256: b862fa14574137cd1928c2ea0887de8d23bae700a4be4c7051504aadfa408ccc

Red Hat Enterprise Linux for Power, little endian 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64le
libreswan-3.25-4.1.el7_6.ppc64le.rpm SHA-256: e9cbdb54a701ab700c3c1f5c5982434d63815bbaebe7d36d8f48aacd60bdfc68
libreswan-debuginfo-3.25-4.1.el7_6.ppc64le.rpm SHA-256: 196ce93b609d801b68f3816ba47f27a9d48ae1c0a9c6ccfb5c52f89fa34534ec

Red Hat Enterprise Linux for Power, little endian - Extended Update Support 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64le
libreswan-3.25-4.1.el7_6.ppc64le.rpm SHA-256: e9cbdb54a701ab700c3c1f5c5982434d63815bbaebe7d36d8f48aacd60bdfc68
libreswan-debuginfo-3.25-4.1.el7_6.ppc64le.rpm SHA-256: 196ce93b609d801b68f3816ba47f27a9d48ae1c0a9c6ccfb5c52f89fa34534ec

Red Hat Enterprise Linux Server - TUS 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
s390x
libreswan-3.25-4.1.el7_6.s390x.rpm SHA-256: 7a37de1d6f48a0ff708c0ddd022f1013a3d02623a55748e9f9a5c9ed84ed1332
libreswan-debuginfo-3.25-4.1.el7_6.s390x.rpm SHA-256: a5879aa91b102dba94e8cb6153d3e8cfb2c6de48fcb667b350abd31eef4f9d90

Red Hat Enterprise Linux for ARM 64 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
aarch64
libreswan-3.25-4.1.el7_6.aarch64.rpm SHA-256: 6e2cd0f244526756b9e0159f4edf2d56892f50504ca6e733961fb3272c6baa88
libreswan-debuginfo-3.25-4.1.el7_6.aarch64.rpm SHA-256: 8a8292ffb9e27bf437a32964bf4e21d6aa06aa8be44c22012fb41b86803af221

Red Hat Enterprise Linux for Power 9 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64le
libreswan-3.25-4.1.el7_6.ppc64le.rpm SHA-256: e9cbdb54a701ab700c3c1f5c5982434d63815bbaebe7d36d8f48aacd60bdfc68
libreswan-debuginfo-3.25-4.1.el7_6.ppc64le.rpm SHA-256: 196ce93b609d801b68f3816ba47f27a9d48ae1c0a9c6ccfb5c52f89fa34534ec

Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64le
libreswan-3.25-4.1.el7_6.ppc64le.rpm SHA-256: e9cbdb54a701ab700c3c1f5c5982434d63815bbaebe7d36d8f48aacd60bdfc68
libreswan-debuginfo-3.25-4.1.el7_6.ppc64le.rpm SHA-256: 196ce93b609d801b68f3816ba47f27a9d48ae1c0a9c6ccfb5c52f89fa34534ec

Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 7.6

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
x86_64
libreswan-3.25-4.1.el7_6.x86_64.rpm SHA-256: c77cfe14b0fc86b1f91104c21ffb2c0b428247a96464d147ace0c5b882c7c9e0
libreswan-debuginfo-3.25-4.1.el7_6.x86_64.rpm SHA-256: c40b52042874551407d1fd122832ef615c81a868f3751814e1579333971b5a92

Red Hat Enterprise Linux for IBM System z (Structure A) 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
s390x
libreswan-3.25-4.1.el7_6.s390x.rpm SHA-256: 7a37de1d6f48a0ff708c0ddd022f1013a3d02623a55748e9f9a5c9ed84ed1332
libreswan-debuginfo-3.25-4.1.el7_6.s390x.rpm SHA-256: a5879aa91b102dba94e8cb6153d3e8cfb2c6de48fcb667b350abd31eef4f9d90

Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64
libreswan-3.25-4.1.el7_6.ppc64.rpm SHA-256: 7fb609a0612b4ac9726f525fe784222a869340ec62dada1278edbfc8974879e4
libreswan-debuginfo-3.25-4.1.el7_6.ppc64.rpm SHA-256: b862fa14574137cd1928c2ea0887de8d23bae700a4be4c7051504aadfa408ccc

Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7

SRPM
libreswan-3.25-4.1.el7_6.src.rpm SHA-256: 8761e5a9a3e13f6db7939075cfb74375962ffa74cbcb3d434e22dfbc7468c4ed
ppc64le
libreswan-3.25-4.1.el7_6.ppc64le.rpm SHA-256: e9cbdb54a701ab700c3c1f5c5982434d63815bbaebe7d36d8f48aacd60bdfc68
libreswan-debuginfo-3.25-4.1.el7_6.ppc64le.rpm SHA-256: 196ce93b609d801b68f3816ba47f27a9d48ae1c0a9c6ccfb5c52f89fa34534ec

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility