{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.0, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "openswan", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "affected"}, {"vendor": "redhat", "product": "openswan-doc", "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "affected"}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2015-3240"}], "descriptions": [{"lang": "en", "value": "A flaw was discovered in the way Libreswan's IKE daemon processed IKE KE payloads. A remote attacker could send specially crafted IKE payload with a KE payload of g^x=0 that, when processed, would lead to a denial of service (daemon crash)."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2015-08-25T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unimportant\"}"}}}], "affected": [{"vendor": "debian", "product": "libreswan", "platforms": ["bookworm", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2015-3240"}], "descriptions": [{"lang": "en", "value": "The pluto IKE daemon in libreswan before 3.15 and Openswan before 2.6.45, when built with NSS, allows remote attackers to cause a denial of service (assertion failure and daemon restart) via a zero DH g^x value in a KE payload in a IKE packet."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2015-11-09T16:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "libreswan", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.15-5.0.1.el7_1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:7"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2015-3240.html"}], "descriptions": [{"lang": "en", "value": "The pluto IKE daemon in libreswan before 3.15 and Openswan before2.6.45, when built with NSS, allows remote attackers to cause a denial of service (assertion failure and daemon restart) via a zero DH g^x value in a KE payload in a IKE packet. "}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2015-11-03T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.0, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "libreswan", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.15-5.el7_1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:7"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2015:1979"}, {"url": "https://access.redhat.com/security/cve/CVE-2015-3240"}], "descriptions": [{"lang": "en", "value": "Libreswan is an implementation of IPsec & IKE for Linux. IPsec is the\nInternet Protocol Security and uses strong cryptography to provide both\nauthentication and encryption services. These services allow you to build\nsecure tunnels through untrusted networks such as virtual private network\n(VPN).\n\nA flaw was discovered in the way Libreswan's IKE daemon processed IKE KE\npayloads. A remote attacker could send specially crafted IKE payload with a\nKE payload of g^x=0 that, when processed, would lead to a denial of service\n(daemon crash). (CVE-2015-3240)\n\nThis issue was discovered by Paul Wouters of Red Hat.\n\nNote: Please note that when upgrading from an earlier version of Libreswan,\nthe existing CA certificates in the /etc/ipsec.d/cacerts/ directory and the\nexisting certificate revocation list (CRL) files from the\n/etc/ipsec.d/crls/ directory are automatically imported into the NSS\ndatabase. Once completed, these directories are no longer used by\nLibreswan. To install new CA certificates or new CRLS, the certutil and\ncrlutil commands must be used to import these directly into the Network\nSecurity Services (NSS) database.\n\nThis update also adds the following enhancements:\n\n* This update adds support for RFC 7383 IKEv2 Fragmentation, RFC 7619 Auth\nNull and ID Null, INVALID_KE renegotiation, CRL and OCSP support via NSS,\nAES_CTR and AES_GCM support for IKEv2, CAVS testing for FIPS compliance.\n\nIn addition, this update enforces FIPS algorithms restrictions in FIPS\nmode, and runs Composite Application Validation System (CAVS) testing for\nFIPS compliance during package build. A new Cryptographic Algorithm\nValidation Program (CAVP) binary can be used to re-run the CAVS tests at\nany time. Regardless of FIPS mode, the pluto daemon runs RFC test vectors\nfor various algorithms.\n\nFurthermore, compiling on all architectures now enables the \"-Werror\" GCC\noption, which enhances the security by making all warnings into errors.\n(BZ#1263346)\n\n* This update also fixes several memory leaks and introduces a sub-second\npacket retransmit option. (BZ#1268773)\n\n* This update improves migration support from Openswan to Libreswan.\nSpecifically, all Openswan options that can take a time value without a\nsuffix are now supported, and several new keywords for use in the\n/etc/ipsec.conf file have been introduced. See the relevant man pages for\ndetails. (BZ#1268775)\n\n* With this update, loopback support via the \"loopback=\" option has been\ndeprecated. (BZ#1270673)\n\nAll Libreswan users are advised to upgrade to these updated packages, which\ncontain backported patches to correct these issues and add these\nenhancements."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2015-08-25T00:00:00Z", "x_subShortName": "redhat_7"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2015-3240"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:N/A:P", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:libreswan:libreswan:3.14:*:*:*:*:*:*:*"], "vendor": "libreswan", "product": "libreswan", "versions": [{"status": "affected", "version": "3.14"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://libreswan.org/security/CVE-2015-3240/CVE-2015-3240.txt", "tags": ["vendor-advisory"]}, {"url": "https://lists.openswan.org/pipermail/users/2015-August/023401.html", "tags": ["vendor-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2015-1979.html"}, {"url": "http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html"}, {"url": "http://www.securityfocus.com/bid/77536"}, {"url": "http://www.securitytracker.com/id/1033418"}, {"url": "https://security.gentoo.org/glsa/201603-13"}], "descriptions": [{"lang": "en", "value": "The pluto IKE daemon in libreswan before 3.15 and Openswan before 2.6.45, when built with NSS, allows remote attackers to cause a denial of service (assertion failure and daemon restart) via a zero DH g^x value in a KE payload in a IKE packet."}, {"lang": "es", "value": "El demonio pluto IKE en libreswan en versiones anteriores a 3.15 y Openswan en versiones anteriores a 2.6.45, cuando ha sido construido con NSS, permite a atacantes remotos causar una denegación de servicio (fallo de aserción y reinicio de demonio) a través de un valor zero DH g^x en un payload KE en un paquete IKE."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-189", "description": "CWE-189"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2015-11-09T16:59:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2015-3240", "state": "PUBLISHED", "dateUpdated": "2025-04-12T10:46:40Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2015-11-09T16:59:01Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}