{"id":"CVE-2024-22047","aliases":["GHSA-hjp3-5g2q-7jww"],"url":"https://o3.security/vulnerability/CVE-2024-22047","summary":"Audited Log Integrity Errors Due to Race Condition","details":"In certain setups with threaded web servers, Audited's use of `Thread.current` can incorrectly attributed audits to the wrong user. \n\nFixed in 5.3.3. \n\nIn 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.\n\n- The first issue we identified was from November 2021: https://github.com/collectiveidea/audited/issues/601 \n- So the solution was implemented in the following Pull Request: https://github.com/collectiveidea/audited/pull/669 \n- And the feature was published in version 5.3.3: RELEASE: https://github.com/collectiveidea/audited/pull/671\n","published":"2024-01-04T20:32:02.771Z","modified":"2026-08-12T03:51:23.331414315Z","cvss":{"score":3.1,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"audited","fixedVersion":"5.3.3"}],"fix":{"url":"https://github.com/collectiveidea/audited/pull/669","label":"collectiveidea/audited#669"},"references":[{"type":"WEB","url":"https://rubygems.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22047.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hjp3-5g2q-7jww"},{"type":"ADVISORY","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":"ADVISORY","url":"https://vulncheck.com/advisories/vc-advisory-GHSA-hjp3-5g2q-7jww"},{"type":"REPORT","url":"https://github.com/collectiveidea/audited/issues/601"},{"type":"REPORT","url":"https://github.com/collectiveidea/audited/pull/669"},{"type":"REPORT","url":"https://github.com/collectiveidea/audited/pull/671"},{"type":"WEB","url":"https://github.com/collectiveidea/audited/commit/342734c9396d8f96d3165f1d8531c626139fa4c6"},{"type":"PACKAGE","url":"https://github.com/collectiveidea/audited"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/audited/CVE-2024-22047.yml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:23.331414315Z"}}