{"id":"CVE-2024-22047","aliases":["CVE-2024-22047","GHSA-hjp3-5g2q-7jww"],"related":[],"kind":"vulnerability","state":"published","title":"Audited Log Integrity Errors Due to Race Condition","summary":"A race condition exists in Audited 4.0.0 before 5.3.3 that can result in an authenticated user to cause audit log entries to be attributed to another user.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A race condition exists in Audited 4.0.0 before 5.3.3 that can result in an authenticated user to cause audit log entries to be attributed to another user.","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una condición de ejecución en Audited 4.0.0 a 5.3.3 que puede provocar que un usuario autenticado haga que las entradas del registro de auditoría se atribuyan a otro usuario.","source":"nvd"}],"published":"2023-05-01T14:00:47.000Z","modified":"2026-11-08T13:59:53.552Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.1,"rating":"LOW"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","fixed":"5.3.3","status":"affected"}],"package":"audited","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"5.3.3"}],"ecosystem":"RubyGems","package":"audited","purl":"pkg:gem/audited","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"5.3.3"}],"vendor":"collectiveidea","product":"audited","cpe":"cpe:2.3:a:collectiveidea:audited:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/collectiveidea/audited/security/advisories/GHSA-hjp3-5g2q-7jww","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/collectiveidea/audited/issues/601","tags":["issue-tracking","patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/collectiveidea/audited/pull/669","tags":["issue-tracking","patch","related","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/collectiveidea/audited/pull/671","tags":["issue-tracking","patch","related","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/advisories/GHSA-hjp3-5g2q-7jww","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vulncheck.com/advisories/vc-advisory-GHSA-hjp3-5g2q-7jww","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22047","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/collectiveidea/audited/commit/342734c9396d8f96d3165f1d8531c626139fa4c6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/collectiveidea/audited","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/audited/CVE-2024-22047.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-08T15:57:21.824Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-22047","url":"https://www.cve.org/CVERecord?id=CVE-2024-22047","licence":"CVE Terms of Use","modified":"2026-11-08T13:59:53.552Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hjp3-5g2q-7jww","url":"https://github.com/advisories/GHSA-hjp3-5g2q-7jww","licence":"CC-BY-4.0","modified":"2026-07-08T06:53:11.259Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-22047","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22047","licence":"Public domain","modified":"2026-10-29T21:17:02.613Z"}],"updatedAt":"2026-11-25T22:58:35.922Z","epss":{"score":0.00498,"percentile":0.44282,"date":"2026-12-01T12:00:22.000Z"}}