GHSA-v444-jggx-6v7f: Duplicate Advisory Race Condition Leading To Logging Vulnerability
LOWGHSA-v444-jggx-6v7f is a LOW (CVSS 3.1) race condition leading to logging vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Duplicate Advisory libraries in the RubyGems ecosystem. The issue involves race condition leading to logging errors. Remediation is available in the latest vendor maintenance releases.
GHSA-v444-jggx-6v7f at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N).
How to Fix GHSA-v444-jggx-6v7f
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade audited to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for audited
How to Check if You Are Affected
To determine whether your application is affected by GHSA-v444-jggx-6v7f, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for audited
Analyze the terminal output to locate any version of Duplicate Advisory 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: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where 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. In Duplicate Advisory, 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
GHSA-v444-jggx-6v7f Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
audited
|
RubyGems |
≥ 4.0.0
|
|
References
Frequently Asked Questions
What is GHSA-v444-jggx-6v7f?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-v444-jggx-6v7f?
Is audited affected?
What is the CVSS score of GHSA-v444-jggx-6v7f?
What CWE is associated with GHSA-v444-jggx-6v7f?
How can I check RubyGems dependencies for GHSA-v444-jggx-6v7f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v444-jggx-6v7f",
"modified" : "2024-01-05T15:27:09Z",
"published" : "2024-01-04T21:30:24Z",
"withdrawn" : "2024-01-05T15:27:09Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Race Condition leading to logging errors",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-hjp3-5g2q-7jww. This link is maintained to preserve external references.\n\n### Original Description\nA race condition exists in Audited 4.0.0 to 5.3.3 that can result in an authenticated user to cause audit log entries to be attributed to another user.\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "audited"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 5.3.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/collectiveidea/audited/security/advisories/GHSA-hjp3-5g2q-7jww"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-22047"
}, {
"type" : "WEB",
"url" : "https://github.com/collectiveidea/audited/issues/601"
}, {
"type" : "WEB",
"url" : "https://github.com/collectiveidea/audited/pull/669"
}, {
"type" : "WEB",
"url" : "https://github.com/collectiveidea/audited/pull/671"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-hjp3-5g2q-7jww"
}, {
"type" : "WEB",
"url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-hjp3-5g2q-7jww"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-362" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-05T15:27:09Z",
"nvd_published_at" : "2024-01-04T21:15:09Z"
}
}