CVE-2020-10769: Buffer Overflow

Published May 10, 2019
·
Updated

A buffer over-read flaw was found in cryptoauthencextractkeys in crypto/authenc.c in the IPsec Cryptographic algorithm's module, authenc. When a payload longer than 4 bytes, and is not following 4-byte alignment boundary guidelines, it causes a buffer over-read threat, leading to a system crash. This flaw allows a local attacker with user privileges to cause a denial of service.

Other sources

A buffer over-read flaw was found in RH kernel versions before 5.0 in cryptoauthencextractkeys in crypto/authenc.c in the IPsec Cryptographic algorithm's module, authenc. When a payload longer than 4 bytes, and is not following 4-byte alignment boundary guidelines, it causes a buffer over-read threat, leading to a system crash. This flaw allows a local attacker with user privileges to cause a denial of service.

A buffer overread problem was found in cryptoauthencextractkeys in crypto/authenc.c in IPsec Cryptographic algorithms module authenc. When a payload longer than 4 bytes, is not following a 4-byte alignment boundary guidelines, may cause a buffer overread threat, leading to a system crash problem. An attacker locally with a user privilege can cause a denial of service (DoS).

cryptoauthencextractkeys() fails to consider the case where the rtattr's payload is longer than 4 bytes but not 4-byte aligned, and where the key ends before the next 4-byte aligned boundary. In this case, 'keylen -=RTAALIGN(rta->rtalen);' underflows to a value near UINTMAX. This causes a buffer overread and crash during cryptoahashsetkey().

Proposed upstrem patch:

https://lkml.org/lkml/2019/1/21/675

— Red Hat

Affected Software

50 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.11.1.rt56.1145.el7
0:3.10.0-1160.11.1.rt56.1145.el7
redhat/kernel-alt<0:4.14.0-115.29.1.el7a
0:4.14.0-115.29.1.el7a
redhat/kernel<0:3.10.0-1160.11.1.el7
0:3.10.0-1160.11.1.el7
redhat Enterprise Linux=7.0
openSUSE Leap=15.1
ubuntu/linux-aws<4.4.0-1040.43
4.4.0-1040.43
ubuntu/linux-lts-xenial<4.4.0-144.170~14.04.1
4.4.0-144.170~14.04.1
ubuntu/linux-azure<4.15.0-1059.64~14.04.1
4.15.0-1059.64~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-145.171
4.4.0-145.171
ubuntu/linux-aws<4.4.0-1079.89
4.4.0-1079.89
ubuntu/linux-aws-hwe<4.15.0-1047.49~16.04.1
4.15.0-1047.49~16.04.1
ubuntu/linux-azure<4.15.0-1051.56
4.15.0-1051.56
ubuntu/linux-gcp<4.15.0-1037.39~16.04.1
4.15.0-1037.39~16.04.1
ubuntu/linux-hwe<4.15.0-55.60~16.04.2
4.15.0-55.60~16.04.2
ubuntu/linux-kvm<4.4.0-1043.49
4.4.0-1043.49
ubuntu/linux-oracle<4.15.0-1018.20~16.04.1
4.15.0-1018.20~16.04.1
ubuntu/linux-raspi2<4.4.0-1106.114
4.4.0-1106.114
ubuntu/linux-snapdragon<4.4.0-1110.115
4.4.0-1110.115
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1008.10
4.4.0-1008.10
ubuntu/linux<4.15.0-55.60
4.15.0-55.60
ubuntu/linux-aws<4.15.0-1047.49
4.15.0-1047.49
ubuntu/linux-gke-4.15<4.15.0-1037.39
4.15.0-1037.39
ubuntu/linux-hwe<5.0.0-23.24~18.04.1
5.0.0-23.24~18.04.1
ubuntu/linux-kvm<4.15.0-1039.39
4.15.0-1039.39
ubuntu/linux-oem<4.15.0-1050.57
4.15.0-1050.57
ubuntu/linux-oracle<4.15.0-1018.20
4.15.0-1018.20
ubuntu/linux-raspi2<4.15.0-1041.44
4.15.0-1041.44
ubuntu/linux-snapdragon<4.15.0-1058.64
4.15.0-1058.64
ubuntu/linux-aws-5.0*
ubuntu/linux-azure*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-edge*
ubuntu/linux-oracle-5.0*
ubuntu/linux-aws-fips<4.15.0-2018.18
4.15.0-2018.18
ubuntu/linux-azure-fips<4.15.0-2006.7
4.15.0-2006.7
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15<5.15.0-1114.123~20.04.1
5.15.0-1114.123~20.04.1
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.11.1.rt56.1145.el7
  2. Upgrade

    Upgrade redhat/kernel-alt to a version that resolves this vulnerability.

    Fixed in 0:4.14.0-115.29.1.el7a
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.11.1.el7
  4. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1040.43
  5. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-144.170~14.04.1
  6. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1059.64~14.04.1
  7. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-145.171
  8. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1079.89
  9. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1047.49~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1051.56
  11. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1037.39~16.04.1
  12. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-55.60~16.04.2
  13. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1043.49
  14. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1018.20~16.04.1
  15. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1106.114
  16. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1110.115
  17. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1008.10
  18. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-55.60
  19. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1047.49
  20. Upgrade

    Upgrade ubuntu/linux-gke-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1037.39
  21. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 5.0.0-23.24~18.04.1
  22. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1039.39
  23. Upgrade

    Upgrade ubuntu/linux-oem to a version that resolves this vulnerability.

    Fixed in 4.15.0-1050.57
  24. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1018.20
  25. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1041.44
  26. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1058.64
  27. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2018.18
  28. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2006.7
  29. Upgrade

    Upgrade ubuntu/linux-azure-fde-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1114.123~20.04.1
  30. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.0

Event History

May 10, 2019
Data Sourced
08:15 PM
DescriptionSeverityAffected Software
Nov 5, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyWeakness
Jun 26, 2020
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 15, 2023
Data Sourced
via Red Hat·04:29 PM
DescriptionSeverityAffected Software
Nov 11, 2026
Updated
via OSV·09:36 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Who can exploit this issue?

Exploitation requires local access and user privileges. The available information does not describe a remote attack path.

2

What input is required to trigger the flaw?

The payload must be longer than 4 bytes and must not follow 4-byte alignment guidelines when processed by the authenc IPsec cryptographic algorithm module.

3

What is the expected impact of successful exploitation?

A successful exploit can cause a buffer over-read that crashes the system, resulting in denial of service. No confidentiality or integrity impact is specified.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203