Headline
GHSA-hjp3-5g2q-7jww: 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
Package
bundler audited (RubyGems)
Affected versions
>= 4.0.0, < 5.3.3
Patched versions
5.3.3
Description
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: collectiveidea/audited#601
- So the solution was implemented in the following Pull Request: collectiveidea/audited#669
- And the feature was published in version 5.3.3: RELEASE: collectiveidea/audited#671
References
- GHSA-hjp3-5g2q-7jww
- collectiveidea/audited#601
- collectiveidea/audited#669
- collectiveidea/audited#671
danielmorrison published to collectiveidea/audited
Apr 28, 2023
Published to the GitHub Advisory Database
May 1, 2023
Reviewed
May 1, 2023
Last updated
May 1, 2023