CVE-2018-1084: Integer Overflow

Published Mar 7, 2018
·
Updated

corosync before version 2.4.4 is vulnerable to an integer overflow in exec/totemcrypto.c.

Other sources

Potential pre-authentication buffer overflow due to integer overflow in exec/totemcrypto.c:authenticatenss23() function can lead to denial of service or potentially to remote code execution.

Vulnerable code:

static int authenticatenss23 ( struct cryptoinstance instance, unsigned char buf, int buflen) { if (hashtonss[instance->cryptohashtype]) { unsigned char tmphash[hashlen[instance->cryptohashtype]]; int datalen = buflen - hashlen[instance->cryptohashtype];

if (calculatensshash(instance, buf, datalen, tmphash) < 0) { return -1; } ...

— Red Hat

Affected Software

7 affected componentsFixes available
redhat/corosync<2.4.4
2.4.4
corosync corosync>=2.3.0<2.4.4
Debian Debian Linux=9.0
redhat Enterprise Linux Server=7.0
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
debian/corosync
3.1.2-23.1.2-2+deb11u13.1.7-1+deb12u13.1.9-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 2.4.4
  2. Upgrade

    Upgrade debian/corosync to a version that resolves this vulnerability.

    Fixed in 3.1.2-2Fixed in 3.1.2-2+deb11u1Fixed in 3.1.7-1+deb12u1Fixed in 3.1.9-2
  3. Upgrade

    Upgrade corosync to a version that resolves this vulnerability.

    Fixed in 2.4.4

Event History

Mar 7, 2018
Data Sourced
08:02 PM
DescriptionSeverityAffected Software
Apr 12, 2018
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
DescriptionSeverityWeakness
Feb 17, 2021
Data Sourced
via Red Hat·12:41 AM
DescriptionSeverityAffected Software
Jan 31, 2023
Data Sourced
08:14 PM
Weakness
Data Sourced
via NVD·08:14 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
08:14 PM
Affected Software
Nov 21, 2024
Updated
via NVD·03:59 AM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-1084?

CVE-2018-1084 is classified as a critical vulnerability due to its potential for pre-authentication buffer overflow.

2

How do I fix CVE-2018-1084?

To remediate CVE-2018-1084, upgrade corosync to version 2.4.4 or later.

3

Which versions of corosync are affected by CVE-2018-1084?

Versions of corosync prior to 2.4.4 are vulnerable to CVE-2018-1084.

4

What type of vulnerability is CVE-2018-1084?

CVE-2018-1084 is an integer overflow vulnerability in the corosync software.

5

What components of corosync are impacted by CVE-2018-1084?

The vulnerability is specifically found in the exec/totemcrypto.c file of corosync.

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