CVE-2017-17805

HIGHCVSS 7.8/10EPSS 0.43%

Last modified

CVE-2017-17805 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.43% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.43%

34.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
LinuxLinux Kernel>= 2.6.25, < 3.2.97
LinuxLinux Kernel>= 3.3, < 3.16.52
LinuxLinux Kernel>= 3.17, < 3.18.89
LinuxLinux Kernel>= 3.19, < 4.1.49
LinuxLinux Kernel>= 4.2, < 4.4.107
LinuxLinux Kernel>= 4.5, < 4.9.71
LinuxLinux Kernel>= 4.10, < 4.14.8
DebianDebian Linux8.0
DebianDebian Linux9.0
OpensuseLeap42.2
Opensuse ProjectLeap42.3
SuseLinux Enterprise Desktop12Sp2
SuseLinux Enterprise Server11Extra
SuseLinux Enterprise Server12Sp2
SuseLinux Enterprise Server For Raspberry Pi12Sp2
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux17.10

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2017-17805?
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.
How severe is CVE-2017-17805?
CVE-2017-17805 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.43% probability of exploitation in the next 30 days.
How do I fix CVE-2017-17805?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2017-17805?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST