{"id":"CVE-2017-17805","state":"PUBLISHED","title":"The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker able to use the AF_ALG-based skcipher int","description":"The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker able to use the AF_ALG-based skcipher interface (CONFIG_CRYPTO_USER_API_SKCIPHER) to cause a denial of service (uninitialized-memory free and kernel crash) or have unspecified other impact by executing a crafted sequence of system calls that use the blkcipher_walk API. Both the generic implementation (crypto/salsa20_generic.c) and x86 implementation (arch/x86/crypto/salsa20_glue.c) of Salsa20 were vulnerable.","publishedAt":"2017-12-20T23:00:00.000Z","updatedAt":"2024-08-05T20:59:17.879Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://access.redhat.com/errata/RHSA-2018:3083","https://usn.ubuntu.com/3617-1/","https://usn.ubuntu.com/3619-2/","https://www.debian.org/security/2018/dsa-4082","https://usn.ubuntu.com/3617-3/","https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html","http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html","http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html","https://usn.ubuntu.com/3632-1/","https://usn.ubuntu.com/3620-2/","http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html","http://www.securityfocus.com/bid/102291","https://access.redhat.com/errata/RHSA-2018:2948","https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8","http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html","https://www.debian.org/security/2017/dsa-4073","http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ecaaab5649781c5a0effdaf298a925063020500e","https://usn.ubuntu.com/3617-2/","https://github.com/torvalds/linux/commit/ecaaab5649781c5a0effdaf298a925063020500e","https://usn.ubuntu.com/3620-1/","https://access.redhat.com/errata/RHSA-2018:3096","https://usn.ubuntu.com/3619-1/","http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html","https://access.redhat.com/errata/RHSA-2019:2473"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:28.887Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/17xxx/CVE-2017-17805.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-17805","state":"PUBLISHED","datePublished":"2017-12-20T23:00:00.000Z","dateUpdated":"2024-08-05T20:59:17.879Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2017-12-20T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker able to use the AF_ALG-based skcipher interface (CONFIG_CRYPTO_USER_API_SKCIPHER) to cause a denial of service (uninitialized-memory free and kernel crash) or have unspecified other impact by executing a crafted sequence of system calls that use the blkcipher_walk API. Both the generic implementation (crypto/salsa20_generic.c) and x86 implementation (arch/x86/crypto/salsa20_glue.c) of Salsa20 were vulnerable."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:3083","name":"RHSA-2018:3083","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3617-1/","name":"USN-3617-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3619-2/","name":"USN-3619-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2018/dsa-4082","name":"DSA-4082","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/3617-3/","name":"USN-3617-3","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html","name":"[debian-lts-announce] 20180107 [SECURITY] [DLA 1232-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html","name":"SUSE-SU-2018:0012","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html","name":"SUSE-SU-2018:0011","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/3632-1/","name":"USN-3632-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3620-2/","name":"USN-3620-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html","name":"openSUSE-SU-2018:0022","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securityfocus.com/bid/102291","name":"102291","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2948","name":"RHSA-2018:2948","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html","name":"SUSE-SU-2018:0010","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.debian.org/security/2017/dsa-4073","name":"DSA-4073","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ecaaab5649781c5a0effdaf298a925063020500e","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3617-2/","name":"USN-3617-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/torvalds/linux/commit/ecaaab5649781c5a0effdaf298a925063020500e","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3620-1/","name":"USN-3620-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3096","name":"RHSA-2018:3096","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3619-1/","name":"USN-3619-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html","name":"openSUSE-SU-2018:0023","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2473","name":"RHSA-2019:2473","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-08-13T17:06:08.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2017-12-20T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-17805","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The Salsa20 encryption algorithm in the Linux kernel before 4.14.8 does not correctly handle zero-length inputs, allowing a local attacker able to use the AF_ALG-based skcipher interface (CONFIG_CRYPTO_USER_API_SKCIPHER) to cause a denial of service (uninitialized-memory free and kernel crash) or have unspecified other impact by executing a crafted sequence of system calls that use the blkcipher_walk API. Both the generic implementation (crypto/salsa20_generic.c) and x86 implementation (arch/x86/crypto/salsa20_glue.c) of Salsa20 were vulnerable."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2018:3083","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3083"},{"name":"USN-3617-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3617-1/"},{"name":"USN-3619-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3619-2/"},{"name":"DSA-4082","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4082"},{"name":"USN-3617-3","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3617-3/"},{"name":"[debian-lts-announce] 20180107 [SECURITY] [DLA 1232-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html"},{"name":"SUSE-SU-2018:0012","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html"},{"name":"SUSE-SU-2018:0011","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html"},{"name":"USN-3632-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3632-1/"},{"name":"USN-3620-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3620-2/"},{"name":"openSUSE-SU-2018:0022","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html"},{"name":"102291","refsource":"BID","url":"http://www.securityfocus.com/bid/102291"},{"name":"RHSA-2018:2948","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:2948"},{"name":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8","refsource":"CONFIRM","url":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8"},{"name":"SUSE-SU-2018:0010","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html"},{"name":"DSA-4073","refsource":"DEBIAN","url":"https://www.debian.org/security/2017/dsa-4073"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ecaaab5649781c5a0effdaf298a925063020500e","refsource":"CONFIRM","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ecaaab5649781c5a0effdaf298a925063020500e"},{"name":"USN-3617-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3617-2/"},{"name":"https://github.com/torvalds/linux/commit/ecaaab5649781c5a0effdaf298a925063020500e","refsource":"CONFIRM","url":"https://github.com/torvalds/linux/commit/ecaaab5649781c5a0effdaf298a925063020500e"},{"name":"USN-3620-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3620-1/"},{"name":"RHSA-2018:3096","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3096"},{"name":"USN-3619-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3619-1/"},{"name":"openSUSE-SU-2018:0023","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html"},{"name":"RHSA-2019:2473","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2473"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://access.redhat.com/errata/RHSA-2018:3083","name":"RHSA-2018:3083","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://usn.ubuntu.com/3617-1/","name":"USN-3617-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3619-2/","name":"USN-3619-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://www.debian.org/security/2018/dsa-4082","name":"DSA-4082","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://usn.ubuntu.com/3617-3/","name":"USN-3617-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html","name":"[debian-lts-announce] 20180107 [SECURITY] [DLA 1232-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html","name":"SUSE-SU-2018:0012","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html","name":"SUSE-SU-2018:0011","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://usn.ubuntu.com/3632-1/","name":"USN-3632-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/3620-2/","name":"USN-3620-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html","name":"openSUSE-SU-2018:0022","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/102291","name":"102291","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2948","name":"RHSA-2018:2948","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html","name":"SUSE-SU-2018:0010","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://www.debian.org/security/2017/dsa-4073","name":"DSA-4073","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ecaaab5649781c5a0effdaf298a925063020500e","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/3617-2/","name":"USN-3617-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://github.com/torvalds/linux/commit/ecaaab5649781c5a0effdaf298a925063020500e","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/3620-1/","name":"USN-3620-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3096","name":"RHSA-2018:3096","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://usn.ubuntu.com/3619-1/","name":"USN-3619-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html","name":"openSUSE-SU-2018:0023","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2473","name":"RHSA-2019:2473","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T20:59:17.879Z"}}]}}}