CVE-2024-6409: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-79hg-h6r6-64mm
CVSS 7.0
CWE-364
Published
Advisory Summary

CVE-2024-6409 is a HIGH (CVSS 7.0) security vulnerability vulnerability (CWE-364: Signal Handler Race Condition) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product uses a signal handler that introduces a race condition.. Remediation is available in the latest vendor maintenance releases.

CVE-2024-6409 at a Glance

CVE Identifier CVE-2024-6409
GHSA Identifier GHSA-79hg-h6r6-64mm
Severity HIGH
CVSS v3.1 Base Score 7.0
CWE Classification CWE-364: Signal Handler Race Condition
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability High (A:H)

How to Fix CVE-2024-6409

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-6409, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-364: Signal Handler Race Condition, where the product uses a signal handler that introduces a race condition. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A signal handler race condition vulnerability was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog(). This issue leaves it vulnerable to a signal handler race condition on the cleanup_exit() function, which introduces the same vulnerability as CVE-2024-6387 in the unprivileged child of the SSHD server.

References

NVD — CVE-2024-6409 NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-6409
Security Fix Commit FIX COMMIT
https://github.com/openela-main/openssh/commit/c00da7741d42029e49047dd89e266d91dcfbffa0
Software Security Information SECURITY
https://www.suse.com/security/cve/CVE-2024-6409.html
Software Security Information SECURITY
https://ubuntu.com/security/CVE-2024-6409
Software Security Information SECURITY
https://sig-security.rocky.page/issues/CVE-2024-6409
Software Security Information SECURITY
https://security.netapp.com/advisory/ntap-20240712-0003
Software Security Information SECURITY
https://security-tracker.debian.org/tracker/CVE-2024-6409
explore.alas.aws.amazon.com/cve-2024-6409.html WEB
https://explore.alas.aws.amazon.com/CVE-2024-6409.html
cert-portal.siemens.com/productcert/html/ss... WEB
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
bugzilla.suse.com/show_bug.cgi WEB
https://bugzilla.suse.com/show_bug.cgi?id=1227217
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2295085
almalinux.org/blog/2024-07-09-cve... WEB
https://almalinux.org/blog/2024-07-09-cve-2024-6409
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2024-6409
access.redhat.com/errata/rhsa-2024:54... WEB
https://access.redhat.com/errata/RHSA-2024:5444
access.redhat.com/errata/rhsa-2024:49... WEB
https://access.redhat.com/errata/RHSA-2024:4960
access.redhat.com/errata/rhsa-2024:49... WEB
https://access.redhat.com/errata/RHSA-2024:4955
access.redhat.com/errata/rhsa-2024:49... WEB
https://access.redhat.com/errata/RHSA-2024:4910
access.redhat.com/errata/rhsa-2024:47... WEB
https://access.redhat.com/errata/RHSA-2024:4716
access.redhat.com/errata/rhsa-2024:46... WEB
https://access.redhat.com/errata/RHSA-2024:4613
access.redhat.com/errata/rhsa-2024:44... WEB
https://access.redhat.com/errata/RHSA-2024:4457
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2024/07/08/2
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2024/07/09/2
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2024/07/09/5
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2024/07/10/1
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2024/07/10/2

Frequently Asked Questions

What is CVE-2024-6409?
CVE-2024-6409 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-364: Signal Handler Race Condition.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2024-6409?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2024-6409?
CVE-2024-6409 has a CVSS v3.1 base score of 7.0 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H.
What CWE is associated with CVE-2024-6409?
CVE-2024-6409 is classified under CWE-364: Signal Handler Race Condition (The product uses a signal handler that introduces a race condition.).
How can I check Maven dependencies for CVE-2024-6409?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-79hg-h6r6-64mm",
  "modified" : "2026-10-15T03:33:50Z",
  "published" : "2024-07-08T18:31:18Z",
  "aliases" : [ "CVE-2024-6409" ],
  "details" : "A signal handler race condition vulnerability was found in OpenSSH's server (sshd), where a client does not authenticate within LoginGraceTime seconds (120 by default, 600 in old OpenSSH versions), then sshd's SIGALRM handler is called asynchronously. However, this signal handler calls various functions that are not async-signal-safe, for example, syslog(). This issue leaves it vulnerable to a signal handler race condition on the cleanup_exit() function, which introduces the same vulnerability as CVE-2024-6387 in the unprivileged child of the SSHD server.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6409"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openela-main/openssh/commit/c00da7741d42029e49047dd89e266d91dcfbffa0"
  }, {
    "type" : "WEB",
    "url" : "https://www.suse.com/security/cve/CVE-2024-6409.html"
  }, {
    "type" : "WEB",
    "url" : "https://ubuntu.com/security/CVE-2024-6409"
  }, {
    "type" : "WEB",
    "url" : "https://sig-security.rocky.page/issues/CVE-2024-6409"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20240712-0003"
  }, {
    "type" : "WEB",
    "url" : "https://security-tracker.debian.org/tracker/CVE-2024-6409"
  }, {
    "type" : "WEB",
    "url" : "https://explore.alas.aws.amazon.com/CVE-2024-6409.html"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/html/ssa-398330.html"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.suse.com/show_bug.cgi?id=1227217"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2295085"
  }, {
    "type" : "WEB",
    "url" : "https://almalinux.org/blog/2024-07-09-cve-2024-6409"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-6409"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:5444"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:4960"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:4955"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:4910"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:4716"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:4613"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2024:4457"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/07/08/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/07/09/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/07/09/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/07/10/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/07/10/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-364" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2024-07-08T18:15:09Z"
  }
}