Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1oanAzLTVnMnEtN2p3d84AAzCk
Race Condition leading to logging errors
In certain setups with threaded web servers, Audited's use of Thread.current
can incorrectly attributed audits to the wrong user.
Fixed in 5.3.3.
In March, @convisoappsec noticed that the library in question had a Race Condition problem, which caused logs to be registered at times with different users than those who performed the genuine actions.
- The first issue we identified was from November 2021: https://github.com/collectiveidea/audited/issues/601
- So the solution was implemented in the following Pull Request: https://github.com/collectiveidea/audited/pull/669
- And the feature was published in version 5.3.3: RELEASE: https://github.com/collectiveidea/audited/pull/671
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oanAzLTVnMnEtN2p3d84AAzCk
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 1 year ago
Updated: 4 months ago
CVSS Score: 3.1
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Identifiers: GHSA-hjp3-5g2q-7jww, CVE-2024-22047
References:
- https://github.com/collectiveidea/audited/security/advisories/GHSA-hjp3-5g2q-7jww
- https://github.com/collectiveidea/audited/issues/601
- https://github.com/collectiveidea/audited/pull/669
- https://github.com/collectiveidea/audited/pull/671
- https://nvd.nist.gov/vuln/detail/CVE-2024-22047
- https://github.com/collectiveidea/audited/commit/342734c9396d8f96d3165f1d8531c626139fa4c6
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/audited/CVE-2024-22047.yml
- https://github.com/advisories/GHSA-hjp3-5g2q-7jww
Blast Radius: 8.6
Affected Packages
rubygems:audited
Dependent packages: 22Dependent repositories: 577
Downloads: 22,322,293 total
Affected Version Ranges: >= 4.0.0, < 5.3.3
Fixed in: 5.3.3
All affected versions: 4.0.0, 4.2.0, 4.2.1, 4.2.2, 4.3.0, 4.4.0, 4.4.1, 4.5.0, 4.6.0, 4.7.0, 4.7.1, 4.8.0, 4.9.0, 4.10.0, 5.0.0, 5.0.1, 5.0.2, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 5.3.2
All unaffected versions: 3.0.0, 5.3.3, 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.5.0, 5.6.0