Common Weakness Enumeration

CWE-362

Allowed-with-Review

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Abstraction: Class · Status: Draft

The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

2921 vulnerabilities reference this CWE, most recent first.

GHSA-H73C-5HR3-RGJW

Vulnerability from github – Published: 2022-05-17 03:12 – Updated: 2022-05-17 03:12
VLAI
Details

The Btrfs implementation in the Linux kernel before 3.19 does not ensure that the visible xattr state is consistent with a requested replacement, which allows local users to bypass intended ACL settings and gain privileges via standard filesystem operations (1) during an xattr-replacement time window, related to a race condition, or (2) after an xattr-replacement attempt that fails because the data does not fit.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2014-9710"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2015-05-27T10:59:00Z",
    "severity": "MODERATE"
  },
  "details": "The Btrfs implementation in the Linux kernel before 3.19 does not ensure that the visible xattr state is consistent with a requested replacement, which allows local users to bypass intended ACL settings and gain privileges via standard filesystem operations (1) during an xattr-replacement time window, related to a race condition, or (2) after an xattr-replacement attempt that fails because the data does not fit.",
  "id": "GHSA-h73c-5hr3-rgjw",
  "modified": "2022-05-17T03:12:33Z",
  "published": "2022-05-17T03:12:33Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-9710"
    },
    {
      "type": "WEB",
      "url": "https://github.com/torvalds/linux/commit/5f5bc6b1e2d5a6f827bc860ef2dc5b6f365d1339"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1205079"
    },
    {
      "type": "WEB",
      "url": "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=5f5bc6b1e2d5a6f827bc860ef2dc5b6f365d1339"
    },
    {
      "type": "WEB",
      "url": "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5f5bc6b1e2d5a6f827bc860ef2dc5b6f365d1339"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-07/msg00023.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00009.html"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2015/03/24/11"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id/1032418"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H73J-VJHQ-J9VG

Vulnerability from github – Published: 2026-06-28 15:31 – Updated: 2026-06-28 15:31
VLAI
Details

A flaw has been found in antlr ANTLR4 up to 4.13.2. This affects the function ObjectInputStream.readObject of the file antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java of the component Maven Plugin. This manipulation causes time-of-check time-of-use. The attack is restricted to local execution. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-13502"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-06-28T15:16:53Z",
    "severity": "LOW"
  },
  "details": "A flaw has been found in antlr ANTLR4 up to 4.13.2. This affects the function ObjectInputStream.readObject of the file antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java of the component Maven Plugin. This manipulation causes time-of-check time-of-use. The attack is restricted to local execution. A high degree of complexity is needed for the attack. It is indicated that the exploitability is difficult. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.",
  "id": "GHSA-h73j-vjhq-j9vg",
  "modified": "2026-06-28T15:31:20Z",
  "published": "2026-06-28T15:31:20Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-13502"
    },
    {
      "type": "WEB",
      "url": "https://github.com/wooyun123/wooyun/issues/7"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/cve/CVE-2026-13502"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/submit/838685"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/vuln/374498"
    },
    {
      "type": "WEB",
      "url": "https://vuldb.com/vuln/374498/cti"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ]
}

GHSA-H7HJ-MF8M-2H22

Vulnerability from github – Published: 2022-05-01 18:19 – Updated: 2022-05-01 18:19
VLAI
Details

Race condition in ESET NOD32 Antivirus before 2.2289 allows remote attackers to execute arbitrary code via a crafted CAB file, which triggers heap corruption.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-3970"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-07-25T17:30:00Z",
    "severity": "MODERATE"
  },
  "details": "Race condition in ESET NOD32 Antivirus before 2.2289 allows remote attackers to execute arbitrary code via a crafted CAB file, which triggers heap corruption.",
  "id": "GHSA-h7hj-mf8m-2h22",
  "modified": "2022-05-01T18:19:01Z",
  "published": "2022-05-01T18:19:01Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-3970"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/35526"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/37976"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26124"
    },
    {
      "type": "WEB",
      "url": "http://securityreason.com/securityalert/2922"
    },
    {
      "type": "WEB",
      "url": "http://www.eset.com/joomla/index.php?option=com_content\u0026task=view\u0026id=3469\u0026Itemid=26"
    },
    {
      "type": "WEB",
      "url": "http://www.nruns.com/%5Bn.runs-SA-2007.016%5D%20-%20NOD32%20Antivirus%20CAB%20parsing%20Arbitrary%20Code%20Execution%20Advisory.pdf"
    },
    {
      "type": "WEB",
      "url": "http://www.nruns.com/%5Bn.runs-SA-2007.016%5D%20-%20NOD32%20Antivirus%20CAB%20parsing%20Arbitrary%20Code%20Execution%20Advisory.txt"
    },
    {
      "type": "WEB",
      "url": "http://www.nruns.com/[n.runs-SA-2007.016]%20-%20NOD32%20Antivirus%20CAB%20parsing%20Arbitrary%20Code%20Execution%20Advisory.pdf"
    },
    {
      "type": "WEB",
      "url": "http://www.nruns.com/[n.runs-SA-2007.016]%20-%20NOD32%20Antivirus%20CAB%20parsing%20Arbitrary%20Code%20Execution%20Advisory.txt"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/474244/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/24988"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/2602"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H7M8-2565-R4JM

Vulnerability from github – Published: 2022-05-27 00:00 – Updated: 2022-06-09 00:00
VLAI
Details

A race condition was addressed with improved locking. This issue is fixed in tvOS 15.5, macOS Monterey 12.4, iOS 15.5 and iPadOS 15.5. An application may be able to execute arbitrary code with kernel privileges.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-26701"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-05-26T19:15:00Z",
    "severity": "HIGH"
  },
  "details": "A race condition was addressed with improved locking. This issue is fixed in tvOS 15.5, macOS Monterey 12.4, iOS 15.5 and iPadOS 15.5. An application may be able to execute arbitrary code with kernel privileges.",
  "id": "GHSA-h7m8-2565-r4jm",
  "modified": "2022-06-09T00:00:17Z",
  "published": "2022-05-27T00:00:36Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26701"
    },
    {
      "type": "WEB",
      "url": "https://support.apple.com/en-us/HT213254"
    },
    {
      "type": "WEB",
      "url": "https://support.apple.com/en-us/HT213257"
    },
    {
      "type": "WEB",
      "url": "https://support.apple.com/en-us/HT213258"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-H7RQ-6WGR-H57C

Vulnerability from github – Published: 2022-05-17 19:57 – Updated: 2024-04-03 23:59
VLAI
Details

xcfa before 5.0.1 creates temporary files insecurely which could allow local users to launch a symlink attack and overwrite arbitrary files.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2014-5254"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2019-11-21T23:15:00Z",
    "severity": "MODERATE"
  },
  "details": "xcfa before 5.0.1 creates temporary files insecurely which could allow local users to launch a symlink attack and overwrite arbitrary files.",
  "id": "GHSA-h7rq-6wgr-h57c",
  "modified": "2024-04-03T23:59:26Z",
  "published": "2022-05-17T19:57:05Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-5254"
    },
    {
      "type": "WEB",
      "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756600"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/95331"
    },
    {
      "type": "WEB",
      "url": "https://security-tracker.debian.org/tracker/CVE-2014-5254"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2014/08/15/4"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/69020"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-H7V4-V54Q-R5JV

Vulnerability from github – Published: 2022-10-30 12:00 – Updated: 2024-03-25 03:31
VLAI
Details

An issue was discovered in the Linux kernel through 6.0.6. drivers/char/pcmcia/cm4040_cs.c has a race condition and resultant use-after-free if a physically proximate attacker removes a PCMCIA device while calling open(), aka a race condition between cm4040_open() and reader_detach().

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-44033"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-10-30T01:15:00Z",
    "severity": "MODERATE"
  },
  "details": "An issue was discovered in the Linux kernel through 6.0.6. drivers/char/pcmcia/cm4040_cs.c has a race condition and resultant use-after-free if a physically proximate attacker removes a PCMCIA device while calling open(), aka a race condition between cm4040_open() and reader_detach().",
  "id": "GHSA-h7v4-v54q-r5jv",
  "modified": "2024-03-25T03:31:43Z",
  "published": "2022-10-30T12:00:28Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44033"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9b12f050c76f090cc6d0aebe0ef76fed79ec3f15"
    },
    {
      "type": "WEB",
      "url": "https://lore.kernel.org/lkml/20220915020834.GA110086%40ubuntu"
    },
    {
      "type": "WEB",
      "url": "https://lore.kernel.org/lkml/20220915020834.GA110086@ubuntu"
    },
    {
      "type": "WEB",
      "url": "https://lore.kernel.org/lkml/20220919040457.GA302681%40ubuntu"
    },
    {
      "type": "WEB",
      "url": "https://lore.kernel.org/lkml/20220919040457.GA302681@ubuntu"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-H89X-P6MF-35PX

Vulnerability from github – Published: 2022-05-01 18:40 – Updated: 2022-05-01 18:40
VLAI
Details

Race condition in the Remote Procedure Call kernel module (rpcmod) in Sun Solaris 8 through 10 allows local users to cause a denial of service (NULL dereference and panic) via unspecified vectors.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-6180"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-11-30T00:46:00Z",
    "severity": "HIGH"
  },
  "details": "Race condition in the Remote Procedure Call kernel module (rpcmod) in Sun Solaris 8 through 10 allows local users to cause a denial of service (NULL dereference and panic) via unspecified vectors.",
  "id": "GHSA-h89x-p6mf-35px",
  "modified": "2022-05-01T18:40:20Z",
  "published": "2022-05-01T18:40:20Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-6180"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/38718"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/40821"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27831"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/28057"
    },
    {
      "type": "WEB",
      "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-103083-1"
    },
    {
      "type": "WEB",
      "url": "http://sunsolve.sun.com/search/document.do?assetkey=1-66-200661-1"
    },
    {
      "type": "WEB",
      "url": "http://support.avaya.com/elmodocs2/security/ASA-2007-508.htm"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/26627"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id?1019011"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/4035"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H8GR-59QR-MXM6

Vulnerability from github – Published: 2022-05-17 05:41 – Updated: 2022-05-17 05:41
VLAI
Details

Race condition in the createOutputFile function in logrotate.c in logrotate 3.7.9 and earlier allows local users to read log data by opening a file before the intended permissions are in place.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2011-1098"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2011-03-30T22:55:00Z",
    "severity": "LOW"
  },
  "details": "Race condition in the createOutputFile function in logrotate.c in logrotate 3.7.9 and earlier allows local users to read log data by opening a file before the intended permissions are in place.",
  "id": "GHSA-h8gr-59qr-mxm6",
  "modified": "2022-05-17T05:41:39Z",
  "published": "2022-05-17T05:41:39Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1098"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2011:0407"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/security/cve/CVE-2011-1098"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=680798"
    },
    {
      "type": "WEB",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057845.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/056992.html"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/16"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/17"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/18"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/19"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/22"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/24"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/25"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/26"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/27"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/28"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/29"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/30"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/31"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/32"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/04/33"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/05/4"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/05/6"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/05/8"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/06/3"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/06/4"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/06/5"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/06/6"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/07/11"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/07/5"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/07/6"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/08/5"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/10/2"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/10/3"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/10/6"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/10/7"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/11/3"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/11/5"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/14/26"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/03/23/11"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/43955"
    },
    {
      "type": "WEB",
      "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2011:065"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2011-0407.html"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2011/0791"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2011/0872"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2011/0961"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-H8RM-X4MW-H3WP

Vulnerability from github – Published: 2023-09-27 15:30 – Updated: 2024-04-04 07:54
VLAI
Details

Vulnerability of mutex management in the bone voice ID trusted application (TA) module. Successful exploitation of this vulnerability may cause the bone voice ID feature to be unavailable.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-41306"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-09-27T15:19:28Z",
    "severity": "LOW"
  },
  "details": "Vulnerability of mutex management in the bone voice ID trusted application (TA) module. Successful exploitation of this vulnerability may cause the bone voice ID feature to be unavailable.",
  "id": "GHSA-h8rm-x4mw-h3wp",
  "modified": "2024-04-04T07:54:10Z",
  "published": "2023-09-27T15:30:37Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41306"
    },
    {
      "type": "WEB",
      "url": "https://consumer.huawei.com/en/support/bulletin/2023/9"
    },
    {
      "type": "WEB",
      "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-202309-0000001638925158"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-H8W2-9W2W-GM8F

Vulnerability from github – Published: 2022-05-13 01:52 – Updated: 2022-05-13 01:52
VLAI
Details

An issue was discovered in certain Apple products. iOS before 11.3 is affected. macOS before 10.13.4 is affected. The issue involves the "iCloud Drive" component. A race condition allows attackers to execute arbitrary code in a privileged context via a crafted app.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2018-4151"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-362"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2018-04-03T06:29:00Z",
    "severity": "HIGH"
  },
  "details": "An issue was discovered in certain Apple products. iOS before 11.3 is affected. macOS before 10.13.4 is affected. The issue involves the \"iCloud Drive\" component. A race condition allows attackers to execute arbitrary code in a privileged context via a crafted app.",
  "id": "GHSA-h8w2-9w2w-gm8f",
  "modified": "2022-05-13T01:52:36Z",
  "published": "2022-05-13T01:52:36Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-4151"
    },
    {
      "type": "WEB",
      "url": "https://support.apple.com/HT208692"
    },
    {
      "type": "WEB",
      "url": "https://support.apple.com/HT208693"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/103581"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id/1040604"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id/1040608"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

Mitigation
Architecture and Design

In languages that support it, use synchronization primitives. Only wrap these around critical code to minimize the impact on performance.

Mitigation
Architecture and Design

Use thread-safe capabilities such as the data access abstraction in Spring.

Mitigation
Architecture and Design
  • Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring.
  • Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).
Mitigation
Implementation

When using multithreading and operating on shared variables, only use thread-safe functions.

Mitigation
Implementation

Use atomic operations on shared variables. Be wary of innocent-looking constructs such as "x++". This may appear atomic at the code layer, but it is actually non-atomic at the instruction layer, since it involves a read, followed by a computation, followed by a write.

Mitigation
Implementation

Use a mutex if available, but be sure to avoid related weaknesses such as CWE-412.

Mitigation
Implementation

Avoid double-checked locking (CWE-609) and other implementation errors that arise when trying to avoid the overhead of synchronization.

Mitigation
Implementation

Disable interrupts or signals over critical parts of the code, but also make sure that the code does not go into a large or infinite loop.

Mitigation
Implementation

Use the volatile type modifier for critical variables to avoid unexpected compiler optimization or reordering. This does not necessarily solve the synchronization problem, but it can help.

Mitigation MIT-17
Architecture and Design Operation

Strategy: Environment Hardening

Run your code using the lowest privileges that are required to accomplish the necessary tasks [REF-76]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

CAPEC-26: Leveraging Race Conditions

The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with their version and cause the system to read the malicious file.

CAPEC-29: Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions

This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.